diff options
author | Liu, Zhiguang <Zhiguang.Liu@intel.com> | 2020-05-20 13:17:41 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-05-21 15:05:08 +0000 |
commit | 8f39da712fd1760f5e526d8d2637bbdf1a14ea93 (patch) | |
tree | c77ac58cc99cf1bb26f0531c2767f4c560dff5fa | |
parent | b1357a40fcbe40ba6bdfa1579f96f8f5c7af35f9 (diff) | |
download | edk2-8f39da712fd1760f5e526d8d2637bbdf1a14ea93.zip edk2-8f39da712fd1760f5e526d8d2637bbdf1a14ea93.tar.gz edk2-8f39da712fd1760f5e526d8d2637bbdf1a14ea93.tar.bz2 |
MdePkg: add definitions for ACPI NVDIMM Device Path
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2716
Add definitions for ACPI NVDIMM Device Path following UEFI spec.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: James Anandraj <james.sushanth.anandraj@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r-- | MdePkg/Include/Protocol/DevicePath.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index 4cf4b65..5914cde 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -282,6 +282,21 @@ typedef struct { //
} ACPI_ADR_DEVICE_PATH;
+///
+/// ACPI NVDIMM Device Path SubType.
+///
+#define ACPI_NVDIMM_DP 0x04
+///
+///
+typedef struct {
+ EFI_DEVICE_PATH_PROTOCOL Header;
+ ///
+ /// NFIT Device Handle, the _ADR of the NVDIMM device.
+ /// The value of this field comes from Section 9.20.3 of the ACPI 6.2A specification.
+ ///
+ UINT32 NFITDeviceHandle;
+} ACPI_NVDIMM_DEVICE_PATH;
+
#define ACPI_ADR_DISPLAY_TYPE_OTHER 0
#define ACPI_ADR_DISPLAY_TYPE_VGA 1
#define ACPI_ADR_DISPLAY_TYPE_TV 2
|