From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atlmailgw2.ami.com (atlmailgw2.ami.com []) by mx.groups.io with SMTP id smtpd.web12.1896.1588878924244110292 for ; Thu, 07 May 2020 12:15:28 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-049ff70000001b62-b3-5eb45e4f2ed0 Received: from atlms1.us.megatrends.com (atlms1.us.megatrends.com [172.16.96.144]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by atlmailgw2.ami.com (Symantec Messaging Gateway) with SMTP id A3.1B.07010.F4E54BE5; Thu, 7 May 2020 15:15:27 -0400 (EDT) Received: from Oleksiy77.us.megatrends.com (172.16.97.158) by atlms1.us.megatrends.com (172.16.96.144) with Microsoft SMTP Server id 14.3.468.0; Thu, 7 May 2020 15:14:03 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v3 4/7] BaseTools: Bootable NVDIMM namespaces Date: Thu, 7 May 2020 15:13:55 -0400 Message-ID: <20200507191358.74904-5-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200507191358.74904-1-oleksiyy@ami.com> References: <20200507191358.74904-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCIsWRmVeSWpSXmKPExsWyRiBhgq5/3JY4g951Rha/js5js2ifMJvN YsW9DewWHR3/mBxYPLZ/v8DosXjPS6YApqgGRpvEvLz8ksSSVIWU1OJkW6WAosyyxORKJYXM FFslQyWFgpzE5NTc1LwSW6XEgoLUvBQlOy4FDGADVJaZp5Cal5yfkpmXbqvkGeyva2Fhaqlr qGQXkpGqkJmXll+Um1iSmZ+nkJyfVwJUnZoCFFVI6ObMWDZhC3PBRM6Kzl132BoY17B3MXJy SAiYSHzveQJkc3EICexikmiZc5cJwtnMKHGou4MZpIpNQFPiwLEpjCC2iICUxJQDM5lAbGaB ComnK5+wgNjCArYSF54sB5rEwcEioCKx7L0CSJhXwFTiyKOtLBDLNCSmrbkL1sopYCYxZ842 sLgQUM3k1SfZIeoFJU7OhBjJLCAhcfDFC2aIGlmJtuPP2Scw8s9CUjYLSdkCRqZVjEKJJTm5 iZk56eVGeom5mXrJ+bmbGCFRlr+D8eNH80OMTByMhxglOJiVRHh5fmyME+JNSaysSi3Kjy8q zUktPsToBHT/RGYpblAAAmMk3tjAQEoUxjE0MTMxNzI3tDQxNzZWEuedtHZNnJBAOjBms1NT C1KLYIYwcXBKNTDu2+LeLu8jmGJQNtOJta1Cz3eCj3vxMz2De7ULFpwLzN0TF86numghtyj7 /b4OrrlaDE9jQ7200vYz1nBb6S+4GLF3TVXhTwGvXFHbHZuk0xU2vqn9OXlh5qVf8Z+fKDZc /pdQsiL9Xpmif2wbu1PCme0+f2WKL7ZuOFV9U/pneU+N+uujO5RYijMSDbWYi4oTAXXE/kTH AgAA Content-Type: text/plain 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 --- BaseTools/Source/C/Include/Protocol/DevicePath.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/BaseTools/Source/C/Include/Protocol/DevicePath.h b/BaseTools/Source/C/Include/Protocol/DevicePath.h index e3571ef..7101bc2 100644 --- a/BaseTools/Source/C/Include/Protocol/DevicePath.h +++ b/BaseTools/Source/C/Include/Protocol/DevicePath.h @@ -719,6 +719,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 // -- 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.