From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atlmailgw1.ami.com (atlmailgw1.ami.com []) by mx.groups.io with SMTP id smtpd.web10.939.1589316519387761698 for ; Tue, 12 May 2020 13:48:42 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac1060b2-0f7ff700000018d4-49-5ebb0baa3b16 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 atlmailgw1.ami.com (Symantec Messaging Gateway) with SMTP id 59.53.06356.AAB0BBE5; Tue, 12 May 2020 16:48:42 -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; Tue, 12 May 2020 16:48:02 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v6 4/7] BaseTools: Bootable NVDIMM namespaces Date: Tue, 12 May 2020 16:47:53 -0400 Message-ID: <20200512204756.25980-5-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200512204756.25980-1-oleksiyy@ami.com> References: <20200512204756.25980-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCIsWRmVeSWpSXmKPExsWyRiBhgu4q7t1xBjtuC1j8OjqPzaJ9wmw2 ixX3NrBbdHT8Y3Jg8dj+/QKjx+I9L5kCmKIaGG0S8/LySxJLUhVSUouTbZUCijLLEpMrlRQy U2yVDJUUCnISk1NzU/NKbJUSCwpS81KU7LgUMIANUFlmnkJqXnJ+SmZeuq2SZ7C/roWFqaWu oZJdSEaqQmZeWn5RbmJJZn6eQnJ+XglQdWoKUFQhoZsz4/itT6wFhzkr5p86ztrAeJ29i5GT Q0LAROLllr2MXYxcHEICu5gkPsxthnK2MEp0vvnABFLFJqApceDYFEYQW0RASmLKgZlgcWaB ComnK5+wgNjCArYS6+acAJvKIqAqsX7JOSCbg4NXwFRi6t5qiGUaEtPW3AVr5RQwk/i8Ywcr iC0EVPLhw3s2EJtXQFDi5EyIkcwCEhIHX7xghqiRlWg7/px9AiP/LCRls5CULWBkWsUolFiS k5uYmZNebqiXmJupl5yfu4kREmWbdjC2XDQ/xMjEwXiIUYKDWUmEtyVzZ5wQb0piZVVqUX58 UWlOavEhRieg+ycyS3GDAhAYI/HGBgZSojCOoYmZibmRuaGlibmxsZI47+S1a+KEBNKBMZud mlqQWgQzhImDU6qBMfFf6o6XcUtizzzh+tOoe8Vmu8S/nH2tBQ0aJ9fpX5KtnbZB8fOUfuY4 o9jva1ruvJxc6GPSu1p2XciUt6w3f+ppdVfb/NrluNxkh7f0t5tphx00ZN6/27vgkdua49PC Zhb/kjOKEhCbVfuBOb4l1W21/DN27bv3VsifXXX56p4dZfPXzy4VYVNiKc5INNRiLipOBAAT 5JW7xwIAAA== 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 Reviewed-by: Liming Gao --- 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.