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.web10.1970.1588974461383918391 for ; Fri, 08 May 2020 14:47:44 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-049ff70000001b62-26-5eb5d37e82ea 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 8F.FC.07010.E73D5BE5; Fri, 8 May 2020 17:47:43 -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; Fri, 8 May 2020 17:46:15 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v4 4/7] BaseTools: Bootable NVDIMM namespaces Date: Fri, 8 May 2020 17:46:08 -0400 Message-ID: <20200508214611.70592-5-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200508214611.70592-1-oleksiyy@ami.com> References: <20200508214611.70592-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsWyRiBhgm795a1xBtN7mC1+HZ3HZtE+YTab xYp7G9gtOjr+MTmweGz/foHRY/Gel0wBTFENjDaJeXn5JYklqQopqcXJtkoBRZllicmVSgqZ KbZKhkoKBTmJyam5qXkltkqJBQWpeSlKdlwKGMAGqCwzTyE1Lzk/JTMv3VbJM9hf18LC1FLX UMkuJCNVITMvLb8oN7EkMz9PITk/rwSoOjUFKKqQ0M2Zsft8XMFEzoodE3axNjCuYe9i5OSQ EDCROPv4CQuILSSwi0ni/fbALkYuIHszo8SGrauZQBJsApoSB45NYQSxRQSkJKYcmAkWZxao kHi6EqJZWMBW4smMxWBxFgEVidWTN7OC2LwCphIz585mgVimITFtzV2wGk4BM4kzW9cxQyw2 lXi2+w4TRL2gxMmZEDOZBSQkDr54AVUjK9F2/Dn7BEb+WUjKZiEpW8DItIpRKLEkJzcxMye9 3EgvMTdTLzk/dxMjJMbydzB+/Gh+iJGJg/EQowQHs5II78SKLXFCvCmJlVWpRfnxRaU5qcWH GJ2AHpjILMUNCj9ghMQbGxhIicI4hiZmJuZG5oaWJubGxkrivJPWrokTEkgHRmx2ampBahHM ECYOTqkGRsmUZ3lv+871RbzY2f/04Z7TSxszLrmZ+02/GGa90GPnPb57N4zPibgoHllk+Zap 57ic25P9h3ZUOCzpEPt6iu9lr/MMx7KO3xFCnzznd0wTXpO1sWdzlAvbouOH86SLynS7u7v0 tRVOn3+mkLxFiOFTrucbM/OWNc8Ous4yDKrIYdp3PLnZT4mlOCPRUIu5qDgRAKM0R9HGAgAA 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..27f8135 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.