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.18239.1586464009547670074 for ; Thu, 09 Apr 2020 13:26:52 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-05fff70000001b62-dc-5e8f850d234a 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 98.6A.07010.D058F8E5; Thu, 9 Apr 2020 16:26:53 -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:57 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v1 5/7] MdePkg: Bootable NVDIMM namespaces Date: Thu, 9 Apr 2020 16:25:48 -0400 Message-ID: <20200409202550.35116-6-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+NgFtrMIsWRmVeSWpSXmKPExsWyRiBhgi5va3+cwduLEha/js5js2ifMJvN YsW9DewWHR3/mBxYPLZ/v8DosXjPS6YApqgGRpvEvLz8ksSSVIWU1OJkW6WAosyyxORKJYXM FFslQyWFgpzE5NTc1LwSW6XEgoLUvBQlOy4FDGADVJaZp5Cal5yfkpmXbqvkGeyva2Fhaqlr qGQXkpGqkJmXll+Um1iSmZ+nkJyfVwJUnZoCFFVI6ObM+HNqB0vBNY6K5vU5DYwf2LoYOTkk BEwk2vrXMHYxcnEICexikng08zgzhLOZUWLr1U/sIFVsApoSB45NYQSxRQSkJKYcmMkEYjML VEg8XfmEpYuRg0NYwFpiWosuSJhFQEXiW+9XVhCbV8BUonnnPFaIZRoS09bcBWvlFDCTuHRo H5gtBFTzfEUbI0S9oMTJmSAjQcZLSBx88YIZokZWou34c/YJjPyzkJTNQlK2gJFpFaNQYklO bmJmTnq5kV5ibqZecn7uJkZIjOXvYPz40fwQIxMH4yFGCQ5mJRFe76beOCHelMTKqtSi/Pii 0pzU4kOMTkAPTGSW4gaFHzBC4o0NDKREYRxDEzMTcyNzQ0sTc2NjJXHeen2fOCGBdGDEZqem FqQWwQxh4uCUamA8qNKrxeR8+P/sa6v0E0P3+AW+MlyQf+5yRsoBlZaeeTM5Fuou+KsYMvsh 09kz/r58htpvvT/uUvUzO9zJut3ZNb1L/VBJ/x3V772eBzyybsxcNOH749CTjxcbquSaKl9p Ktx04HdaldCB9LCH7Gd2fUg8ulA7jH3m1SffjH4yVAvyNi08t+OmEktxRqKhFnNRcSIALmwB +8YCAAA= 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 --- MdePkg/Include/Protocol/DevicePath.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index aaec0a6..c1f8352 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 // -- 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.