1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:57:44 +00:00

Kernel: Use IDE LBA addressing instead of the long-obsolete C/H/S.

This commit is contained in:
Andreas Kling 2019-04-23 02:26:51 +02:00
parent 62f7e8ac62
commit 11e7ce60e5
2 changed files with 14 additions and 34 deletions

View file

@ -25,13 +25,6 @@ private:
// ^DiskDevice
virtual const char* class_name() const override;
struct CHS {
dword cylinder;
word head;
word sector;
};
CHS lba_to_chs(dword) const;
void initialize();
bool wait_for_irq();
bool read_sectors(dword start_sector, word count, byte* buffer);