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 authored and VivianNK committed Jul 15, 2024
1 parent 32d263a commit f28ea23
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 @@ -54,23 +54,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 f28ea23

Please sign in to comment.