not sure whaat this is
This commit is contained in:
@@ -38,7 +38,7 @@ void read_iso(ide_device_t* dev) {
|
||||
uint32_t lba_path_table = pvd->path_table_l_loc;
|
||||
uint32_t path_table_sz = pvd->path_table_sz_le;
|
||||
uint32_t sectors = path_table_sz / 2048;
|
||||
if (sectors % 2048 > 0) {
|
||||
if (sectors % 2048 > 0 || sectors == 0) {
|
||||
sectors++;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,6 @@ void read_iso(ide_device_t* dev) {
|
||||
return;
|
||||
}
|
||||
|
||||
kprintf("iterating path table\n");
|
||||
iso_path_table_entry_t* path = (iso_path_table_entry_t*)path_table_sec;
|
||||
while ((uint32_t)path - (uint32_t)path_table_sec < 2048) {
|
||||
size_t entry_sz = sizeof(iso_path_table_entry_t) + (path->dir_ident_len - 1);
|
||||
|
||||
@@ -31,7 +31,6 @@ int strlen(const char* str) {
|
||||
return len;
|
||||
}
|
||||
|
||||
|
||||
static void* kernel_heap = (void*)0xE0000000;
|
||||
static size_t kernel_heap_sz = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user