]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DevicePath.h
MdePkg: add definitions for ACPI NVDIMM Device Path
[mirror_edk2.git] / MdePkg / Include / Protocol / DevicePath.h
index 4cf4b653baebc4a73ae79187c8e63d04847a1bc5..5914cde304418ef8fc615954d1a6bad2de7bece4 100644 (file)
@@ -282,6 +282,21 @@ typedef struct {
   //\r
 } ACPI_ADR_DEVICE_PATH;\r
 \r
+///\r
+/// ACPI NVDIMM Device Path SubType.\r
+///\r
+#define ACPI_NVDIMM_DP               0x04\r
+///\r
+///\r
+typedef struct {\r
+  EFI_DEVICE_PATH_PROTOCOL        Header;\r
+  ///\r
+  /// NFIT Device Handle, the _ADR of the NVDIMM device.\r
+  /// The value of this field comes from Section 9.20.3 of the ACPI 6.2A specification.\r
+  ///\r
+  UINT32                          NFITDeviceHandle;\r
+} ACPI_NVDIMM_DEVICE_PATH;\r
+\r
 #define ACPI_ADR_DISPLAY_TYPE_OTHER             0\r
 #define ACPI_ADR_DISPLAY_TYPE_VGA               1\r
 #define ACPI_ADR_DISPLAY_TYPE_TV                2\r