ATA: Mark the CDROM as a block device
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
apio 2023-05-26 20:29:31 +02:00
parent ff4fc1cfbc
commit fd2a6a272e
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

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