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.web11.868.1589228403905743792 for ; Mon, 11 May 2020 13:20:07 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-05fff70000001b62-83-5eb9b376d480 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 65.50.07010.773B9BE5; Mon, 11 May 2020 16:20:07 -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; Mon, 11 May 2020 16:19:30 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v5 5/7] MdePkg: Bootable NVDIMM namespaces Date: Mon, 11 May 2020 16:19:21 -0400 Message-ID: <20200511201923.67744-6-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200511201923.67744-1-oleksiyy@ami.com> References: <20200511201923.67744-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCIsWRmVeSWpSXmKPExsWyRiBhgm755p1xBo8+81v8OjqPzaJ9wmw2 ixX3NrBbdHT8Y3Jg8dj+/QKjx+I9L5kCmKIaGG0S8/LySxJLUhVSUouTbZUCijLLEpMrlRQy U2yVDJUUCnISk1NzU/NKbJUSCwpS81KU7LgUMIANUFlmnkJqXnJ+SmZeuq2SZ7C/roWFqaWu oZJdSEaqQmZeWn5RbmJJZn6eQnJ+XglQdWoKUFQhoZsz4/+WR4wF7ZwVi15sYWtgnM3excjJ ISFgIjFnwjbGLkYuDiGBXUwS6x72M0E4Wxgl1k7/yAhSxSagKXHg2BQwW0RASmLKgZlMIDaz QIXE05VPWEBsYQEriQ//poLZLAKqEq8urwSr4RUwlbj3cSkzxDYNiWlr7gLFOTg4Bcwkviys AQkLAZVMn3sOqlxQ4uRMiJHMAhISB1+8YIaokZVoO/6cfQIj/ywkZbOQlC1gZFrFKJRYkpOb mJmTXm6kl5ibqZecn7uJERJl+TsYP340P8TIxMF4iFGCg1lJhLclc2ecEG9KYmVValF+fFFp TmrxIUYnoPsnMktxgwIQGCPxxgYGUqIwjqGJmYm5kbmhpYm5sbGSOO+ktWvihATSgTGbnZpa kFoEM4SJg1OqgTEg5VQg96RD08tD4jgUU6RzLnPxnTnm5M0eorrjllw8597ntz86PRRif79b P2JiRnnM5QAXkXUr+lWZ/ts6z8+xdbpXdVXCxWZWRUhVwg9rA07Lv+9CeD+6sGttXSFc+Us1 Y/LpX8WB+RZTvgVuYni+qqY2cvZZ/9QEb++Vh3kDjn15l3D/rBJLcUaioRZzUXEiAMgvbA/H AgAA 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 --- 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..4cf4b65 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.