public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Oleksiy Yakovlev" <oleksiyy@ami.com>
To: <devel@edk2.groups.io>
Cc: <bob.c.feng@intel.com>, <liming.gao@intel.com>,
	<michael.d.kinney@intel.com>, <Felixp@ami.com>,
	<oleksiyy@ami.com>
Subject: [PATCH 5/7] MdePkg: Bootable NVDIMM namespaces
Date: Fri, 3 Apr 2020 16:22:36 -0400	[thread overview]
Message-ID: <20200403202238.34484-6-oleksiyy@ami.com> (raw)
In-Reply-To: <20200403202238.34484-1-oleksiyy@ami.com>

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 <oleksiyy@ami.com>
---
 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.

  parent reply	other threads:[~2020-04-03 20:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03 20:22 [PATCH 0/7] Add defenitions introduced in UEFI 2.8 oleksiyy
2020-04-03 20:22 ` [PATCH 1/7] MdePkg: Extend SERIAL_IO with DeviceTypeGuid Oleksiy Yakovlev
2020-04-03 20:22 ` [PATCH 2/7] BaseTools: REST style formset Oleksiy Yakovlev
2020-04-03 20:22 ` [PATCH 3/7] MdePkg: " Oleksiy Yakovlev
2020-04-07 21:50   ` [EXTERNAL] [edk2-devel] " Bret Barkelew
2020-04-07 22:10     ` Oleksiy Yakovlev
2020-04-07 22:12       ` Bret Barkelew
2020-04-07 22:17         ` Oleksiy Yakovlev
2020-04-03 20:22 ` [PATCH 4/7] BaseTools: Bootable NVDIMM namespaces Oleksiy Yakovlev
2020-04-03 20:22 ` Oleksiy Yakovlev [this message]
2020-04-03 20:22 ` [PATCH 6/7] MdePkg: Add UEFI Spec Revision 2.8 Oleksiy Yakovlev
2020-04-03 20:22 ` [PATCH 7/7] MdePkg: UEFI JSON Capsule Support Oleksiy Yakovlev
2020-04-07 21:49 ` [EXTERNAL] [edk2-devel] [PATCH 0/7] Add defenitions introduced in UEFI 2.8 Bret Barkelew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200403202238.34484-6-oleksiyy@ami.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox