mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
IDEDiskDevice: Detect disk errors and report failure to clients.
Previously we'd just fail silently if there was an I/O error of any kind.
This commit is contained in:
parent
e6de6c4f45
commit
298a49c688
3 changed files with 31 additions and 16 deletions
|
@ -41,7 +41,8 @@ private:
|
|||
word m_cylinders { 0 };
|
||||
word m_heads { 0 };
|
||||
word m_sectors_per_track { 0 };
|
||||
mutable volatile bool m_interrupted { false };
|
||||
volatile bool m_interrupted { false };
|
||||
volatile byte m_device_error { 0 };
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue