1
Fork 0
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:
Andreas Kling 2019-05-19 04:40:30 +02:00
parent ed79116e94
commit c7d8aa6969
4 changed files with 27 additions and 14 deletions

View file

@ -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();
};