diff options
Diffstat (limited to 'dev/Mod')
| -rw-r--r-- | dev/Mod/MBCI/MBCI.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev/Mod/MBCI/MBCI.h b/dev/Mod/MBCI/MBCI.h index 1857de47..c9ce73fb 100644 --- a/dev/Mod/MBCI/MBCI.h +++ b/dev/Mod/MBCI/MBCI.h @@ -47,10 +47,12 @@ namespace Kernel UInt16 HostFlags; UInt8 Error; UInt32 MMIOTest; + UInt16 State; UInt8 Status; UInt8 InterruptEnable; UInt64 BaseAddressRegister; UInt64 BaseAddressRegisterSize; + UInt32 CommandIssue; Char Zero[kMBCIZeroSz]; }; @@ -79,6 +81,18 @@ namespace Kernel kMBCIHostKindStartExtended, // Extended vendor table limit. }; + enum MBCIHostState + { + kMBCIHostStateInvalid, + kMBCIHostStateReset, + kMBCIHostStateSuccess, + kMBCIHostStateReady, + kMBCIHostStateDmaStart, + kMBCIHostStateDmaEnd, + kMBCIHostStateFail, + kMBCIHostStateCount, + }; + /// @brief An AuthKey is a context used to decrpy data from an MBCI packet. typedef UInt64 MBCIAuthKeyType; } // namespace Kernel |
