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.18524.1586464008486578136 for ; Thu, 09 Apr 2020 13:26:51 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac1060b2-0f7ff700000018d4-0f-5e8f850bbb90 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 FA.1A.06356.B058F8E5; Thu, 9 Apr 2020 16:26:51 -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, 9 Apr 2020 16:25:56 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v1 4/7] BaseTools: Bootable NVDIMM namespaces Date: Thu, 9 Apr 2020 16:25:47 -0400 Message-ID: <20200409202550.35116-5-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200409202550.35116-1-oleksiyy@ami.com> References: <20200409202550.35116-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsWyRiBhgi53a3+cwfevEha/js5js2ifMJvN YsW9DewWHR3/mBxYPLZ/v8DosXjPS6YApqgGRpvEvLz8ksSSVIWU1OJkW6WAosyyxORKJYXM FFslQyWFgpzE5NTc1LwSW6XEgoLUvBQlOy4FDGADVJaZp5Cal5yfkpmXbqvkGeyva2Fhaqlr qGQXkpGqkJmXll+Um1iSmZ+nkJyfVwJUnZoCFFVI6ObMaFv2nLFgEmdF394/LA2Ma9i7GDk4 JARMJG59luti5OIQEtjFJNG15xhjFyMnkLOZUWLmEn0Qm01AU+LAsSlgcREBKYkpB2YygdjM AhUST1c+YQGxhQVsJT6s3wEWZxFQkdj/czeYzStgKvG7oQusRkJAQ2LamrtgcU4BM4lLh/Yx QewylXi+oo0Rol5Q4uRMiJnMAhISB1+8YIaokZVoO/6cfQIj/ywkZbOQlC1gZFrFKJRYkpOb mJmTXm6ol5ibqZecn7uJERJjm3Ywtlw0P8TIxMF4iFGCg1lJhNe7qTdOiDclsbIqtSg/vqg0 J7X4EKMT0AMTmaW4QeEHjJB4YwMDKVEYx9DEzMTcyNzQ0sTc2FhJnLdG3ydOSCAdGLHZqakF qUUwQ5g4OKUaGC/zXltamLfvTVG3dufijYeeh4qfm7fO5YT6l9Vv6sV8+M1z03sNjjy227HX WspaKz49u3yl69Ethc1iX2zmxWQIT1of0nM7VenL9aLAWTo/eDW5iu91nxOfXuwQ947ly7F5 e21YvD8nxidJi97dzpGoMefiGvWyjyGtBVcmvD36cN+OC/XFS5RYijMSDbWYi4oTAQpnagzG AgAA Content-Type: text/plain Privided 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.