reading path tables now, need to make kheap sooner or later
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user