diff options
author | Oleksiy Yakovlev <oleksiyy@ami.com> | 2020-05-14 03:52:46 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-05-15 05:05:52 +0000 |
commit | f8edb7e998695b2bfc57f35184d9a8f1a882b0fa (patch) | |
tree | f3761618ae2d737d9e651aebeef6e03be21b2e54 /MdePkg | |
parent | 5c7526f501beb3578b24c435b7a8abf7b5b396a7 (diff) | |
download | edk2-f8edb7e998695b2bfc57f35184d9a8f1a882b0fa.tar.gz edk2-f8edb7e998695b2bfc57f35184d9a8f1a882b0fa.tar.bz2 edk2-f8edb7e998695b2bfc57f35184d9a8f1a882b0fa.zip |
MdePkg: Bootable NVDIMM namespaces
Provided a mechanism for UEFI FW to identify and hand off bootable
NVDIMM namespaces to the OS by standardizing the EFI device path.
EFI device path for physical NVDIMM devices changed from an ACPI
_ADR device to an ACPI NVDIMM device for correctness.
(UEFI 2.8 mantis 1858)
Signed-off-by: Oleksiy Yakovlev <oleksiyy@ami.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Protocol/DevicePath.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index aaec0a6848..4cf4b653ba 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -712,6 +712,18 @@ typedef struct { UINT8 StopBits;
} UART_DEVICE_PATH;
+///
+/// NVDIMM Namespace Device Path SubType.
+///
+#define NVDIMM_NAMESPACE_DP 0x20
+typedef struct {
+ EFI_DEVICE_PATH_PROTOCOL Header;
+ ///
+ /// Namespace unique label identifier UUID.
+ ///
+ EFI_GUID Uuid;
+} NVDIMM_NAMESPACE_DEVICE_PATH;
+
//
// Use VENDOR_DEVICE_PATH struct
//
|