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:
parent
36d8b9e89b
commit
ebf645d72a
4 changed files with 80 additions and 103 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue