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>
This commit is contained in:
Liu, Zhiguang 2020-05-20 13:17:41 +08:00 committed by mergify[bot]
parent b1357a40fc
commit 8f39da712f
1 changed files with 15 additions and 0 deletions

View File

@ -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