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:
parent
62f7e8ac62
commit
11e7ce60e5
2 changed files with 14 additions and 34 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue