Add ATA drive support #27

Merged
apio merged 28 commits from please-read-my-ata-drive into main 2023-06-16 19:40:11 +00:00
Showing only changes of commit a3beaa4d53 - Show all commits

View File

@ -296,6 +296,11 @@ class ATADevice : public Device
return false;
}
bool is_block_device() const override
{
return true;
}
usize size() const override
{
return m_drive->capacity();