reading path tables now, need to make kheap sooner or later

This commit is contained in:
2026-06-24 16:47:22 -05:00
parent 68dbdbb2c8
commit bf0d1caa89
9 changed files with 150 additions and 48 deletions

View File

@@ -226,7 +226,7 @@ void scan_drives() {
ident_device(IDE_SECONDARY_IO_BASE, IDE_DRIVE_MASTER, 0);
}
ide_device_t* get_device(uint8_t slot) {
ide_device_t* get_ide_device(uint8_t slot) {
if (slot > 3) return NULL;
return &ide_devices[slot];
}
@@ -236,4 +236,6 @@ int ide_read_blks(ide_device_t* dev, uint32_t lba, uint32_t sectors, void* buf)
return atapi_read_sector(dev, lba, sectors, buf);
}
return 0;
}
}