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.5564.1585945396416475694 for ; Fri, 03 Apr 2020 13:23:20 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac1060b2-0e1ff700000018d4-72-5e879b374046 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 18.AF.06356.73B978E5; Fri, 3 Apr 2020 16:23:20 -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, 3 Apr 2020 16:22:44 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH 5/7] MdePkg: Bootable NVDIMM namespaces Date: Fri, 3 Apr 2020 16:22:36 -0400 Message-ID: <20200403202238.34484-6-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200403202238.34484-1-oleksiyy@ami.com> References: <20200403202238.34484-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsWyRiBhgq7F7PY4g4f7OS1+HZ3HZtE+YTab xYp7G9gtOjr+MTmweGz/foHRY/Gel0wBTFENjDaJeXn5JYklqQopqcXJtkoBRZllicmVSgqZ KbZKhkoKBTmJyam5qXkltkqJBQWpeSlKdlwKGMAGqCwzTyE1Lzk/JTMv3VbJM9hf18LC1FLX UMkuJCNVITMvLb8oN7EkMz9PITk/rwSoOjUFKKqQ0M2Z8efUDpaCaxwVzetzGhg/sHUxcnBI CJhI9G8O72Lk4hAS2MUksf74GXYIZzOjxJbDU5m6GDk52AQ0JQ4cm8IIYosISElMOTATLM4s UCHxdOUTFhBbWMBC4mjvYXYQm0VAReLqk+lgNbwCphKHdhwAq5EQ0JCYtuYuWJxTwEzi2LxV YDOFgGqa21uh6gUlTs6EmMksICFx8MULZogaWYm248/ZJzDyz0JSNgtJ2QJGplWMQoklObmJ mTnp5YZ6ibmZesn5uZsYITG2aQdjy0XzQ4xMHIyHGCU4mJVEeB1ntMYJ8aYkVlalFuXHF5Xm pBYfYnQCemAisxQ3KPyAERJvbGAgJQrjGJqYmZgbmRtampgbGyuJ89bo+8QJCaQDIzY7NbUg tQhmCBMHp1QDY8Y+u0sZv17a/P7qfdj1VLniV66fYpfmnFy8Q/lbTXaxXaeg6v1NM5r3zxGT fCVQ7jIjYtUazm1aFwpPFu/IXKCazBSgYGh6YlPlTS6JTWlSryv/54et2cK0cO3S2SLsk2+J p7Yp1cr/eiv18vuGEJPGT25bNnXdPXnw1IYJ34886OZ9+zj4Ta8SS3FGoqEWc1FxIgAcwMD/ xgIAAA== 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.