Skip to content

Commit

Permalink
MdePkg/Nvme.h: Add missing NVMe capability descriptions
Browse files Browse the repository at this point in the history
Adds missing structure member documentation.

Signed-off-by: Michael Kubacki <[email protected]>
  • Loading branch information
makubacki committed Aug 9, 2023
1 parent 9c2e9d1 commit e2e2856
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions MdePkg/Include/IndustryStandard/Nvme.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,25 @@
//
// 3.1.1 Offset 00h: CAP - Controller Capabilities
//
// MU_CHANGE [BEGIN] - Add missing capability descriptions
typedef struct {
UINT16 Mqes; // Maximum Queue Entries Supported
UINT8 Cqr : 1; // Contiguous Queues Required
UINT8 Ams : 2; // Arbitration Mechanism Supported
UINT8 Rsvd1 : 5;
UINT8 To; // Timeout
UINT16 Dstrd : 4;
UINT8 To; // Timeout
UINT16 Dstrd : 4; // Doorbell Stride
UINT16 Nssrs : 1; // NVM Subsystem Reset Supported NSSRS
UINT16 Css : 8; // Command Sets Supported - Bit 37
UINT16 Bps : 1; // Boot Partition Support - Bit 45 in NVMe1.4
UINT16 Rsvd3 : 2;
UINT8 Mpsmin : 4;
UINT8 Mpsmax : 4;
UINT8 Pmrs : 1;
UINT8 Cmbs : 1;
UINT8 Mpsmin : 4; // Memory Page Size Minimum
UINT8 Mpsmax : 4; // Memory Page SIze Maximum
UINT8 Pmrs : 1; // Persistent Memory Region Supported
UINT8 Cmbs : 1; // Controller Memory Buffer Supported
UINT8 Rsvd4 : 6;
} NVME_CAP;
// MU_CHANGE [END] - Add missing capability descriptions

//
// 3.1.2 Offset 08h: VS - Version
Expand Down

0 comments on commit e2e2856

Please sign in to comment.