mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
IDEDiskDevice: Support reading multiple sectors at a time with DMA.
This is another sizable improvement to GCC compile times.
This commit is contained in:
parent
ed79116e94
commit
c7d8aa6969
4 changed files with 27 additions and 14 deletions
|
@ -17,6 +17,8 @@ public:
|
|||
bool read(DiskOffset, unsigned length, byte*) const;
|
||||
bool write(DiskOffset, unsigned length, const byte*);
|
||||
|
||||
virtual bool read_blocks(unsigned index, word count, byte*) = 0;
|
||||
|
||||
protected:
|
||||
DiskDevice();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue