1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

Kernel: Tidy up IDEDiskDevice a bit.

The main cleanup here is putting the I/O address base in a member variable.
This commit is contained in:
Andreas Kling 2019-05-24 04:17:15 +02:00
parent 36d8b9e89b
commit ebf645d72a
4 changed files with 80 additions and 103 deletions

View file

@ -18,6 +18,7 @@ public:
bool write(DiskOffset, unsigned length, const byte*);
virtual bool read_blocks(unsigned index, word count, byte*) = 0;
virtual bool write_blocks(unsigned index, word count, const byte*) = 0;
protected:
DiskDevice();