From 8f39da712fd1760f5e526d8d2637bbdf1a14ea93 Mon Sep 17 00:00:00 2001 From: "Liu, Zhiguang" Date: Wed, 20 May 2020 13:17:41 +0800 Subject: 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 Cc: Liming Gao Signed-off-by: James Anandraj Reviewed-by: Liming Gao --- MdePkg/Include/Protocol/DevicePath.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'MdePkg/Include/Protocol') 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 -- cgit v1.1