Device: Add disk read driver framework

Allow access to the device's logical disk.

At the moment, no drivers are implemented, so all devices have Access::None.
This commit is contained in:
Paul Hollinsky
2022-02-25 01:14:57 -05:00
parent 9e6970fd39
commit fe4d5e0c15
9 changed files with 200 additions and 1 deletions
+3
View File
@@ -47,6 +47,7 @@ public:
UnsupportedTXNetwork = 0x1011,
MessageMaxLengthExceeded = 0x1012,
ValueNotYetPresent = 0x1013,
Timeout = 0x1014,
// Device Events
PollingMessageOverflow = 0x2000,
@@ -80,6 +81,8 @@ public:
NoSerialNumber12V = 0x2028, // The device must be powered with 12V for communication to be established
NoSerialNumberFW12V = 0x2029, // The device must be powered with 12V for communication to be established, a firmware update was already attempted
EthPhyRegisterControlNotAvailable = 0x2030, //The device doesn't support Ethernet PHY MDIO access
DiskNotSupported = 0x2031,
EOFReached = 0x2032,
SettingsDefaultsUsed = 0x2033,
// Transport Events