summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/DevicePath.h
diff options
context:
space:
mode:
authorFeng Tian <feng.tian@intel.com>2013-08-12 06:12:44 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2013-08-12 06:12:44 +0000
commit17625930ba14ec785dbc221d79967d398593cc32 (patch)
treef7bf643545ffc358b6a096e66962e43a8291d422 /MdePkg/Include/Protocol/DevicePath.h
parent5a9f73bf065eda6b830445dc907e778f4a13d8d7 (diff)
downloadedk2-17625930ba14ec785dbc221d79967d398593cc32.zip
edk2-17625930ba14ec785dbc221d79967d398593cc32.tar.gz
edk2-17625930ba14ec785dbc221d79967d398593cc32.tar.bz2
Add NVM Express related definition.
Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14544 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/DevicePath.h')
-rw-r--r--MdePkg/Include/Protocol/DevicePath.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h
index 9c56d9e..7cf7113 100644
--- a/MdePkg/Include/Protocol/DevicePath.h
+++ b/MdePkg/Include/Protocol/DevicePath.h
@@ -5,7 +5,7 @@
from a software point of view. The path must persist from boot to boot, so
it can not contain things like PCI bus numbers that change from boot to boot.
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@@ -786,6 +786,16 @@ typedef struct {
} SASEX_DEVICE_PATH;
///
+/// NvmExpress Namespace Device Path SubType.
+///
+#define MSG_NVME_NAMESPACE_DP 0x17
+typedef struct {
+ EFI_DEVICE_PATH_PROTOCOL Header;
+ UINT32 NamespaceId;
+ UINT64 NamespaceUuid;
+} NVME_NAMESPACE_DEVICE_PATH;
+
+///
/// iSCSI Device Path SubType
///
#define MSG_ISCSI_DP 0x13
@@ -1083,6 +1093,7 @@ typedef union {
UART_FLOW_CONTROL_DEVICE_PATH UartFlowControl;
SAS_DEVICE_PATH Sas;
SASEX_DEVICE_PATH SasEx;
+ NVME_NAMESPACE_DEVICE_PATH NvmeNamespace;
HARDDRIVE_DEVICE_PATH HardDrive;
CDROM_DEVICE_PATH CD;
@@ -1132,6 +1143,7 @@ typedef union {
UART_FLOW_CONTROL_DEVICE_PATH *UartFlowControl;
SAS_DEVICE_PATH *Sas;
SASEX_DEVICE_PATH *SasEx;
+ NVME_NAMESPACE_DEVICE_PATH *NvmeNamespace;
HARDDRIVE_DEVICE_PATH *HardDrive;
CDROM_DEVICE_PATH *CD;