summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2024-07-02 15:05:05 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-04 18:11:09 +0000
commit8430c69dc1d92085c3ef22370bfbb4d41ef2e94c (patch)
treeee571d8294f3f3d6ab908b15467d3b9ab340d8b5
parentcdffb638c85da87f6b9d61194513a24cd6a73c6a (diff)
downloadedk2-8430c69dc1d92085c3ef22370bfbb4d41ef2e94c.zip
edk2-8430c69dc1d92085c3ef22370bfbb4d41ef2e94c.tar.gz
edk2-8430c69dc1d92085c3ef22370bfbb4d41ef2e94c.tar.bz2
MdePkg/Nvme.h: Add missing NVMe capability descriptions
Most of the definitions in this file are currently well documented. This adds documentation for a few missing fields in the NVMe Controller Capabilities structure. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
-rw-r--r--MdePkg/Include/IndustryStandard/Nvme.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/MdePkg/Include/IndustryStandard/Nvme.h b/MdePkg/Include/IndustryStandard/Nvme.h
index c190d67..2a94e21 100644
--- a/MdePkg/Include/IndustryStandard/Nvme.h
+++ b/MdePkg/Include/IndustryStandard/Nvme.h
@@ -54,16 +54,16 @@ typedef struct {
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;