summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/DevicePath.h
diff options
context:
space:
mode:
authorFeng Tian <feng.tian@intel.com>2015-05-08 14:18:42 +0000
committererictian <erictian@Edk2>2015-05-08 14:18:42 +0000
commitab8686b892137598948469db3c6bd1793dca0d0b (patch)
tree6f4827924a3bf8143c68cc038da4a55c201e0821 /MdePkg/Include/Protocol/DevicePath.h
parentee171cce9b9ebdeeb25f4a0a8cef7e8823c8e9f5 (diff)
downloadedk2-ab8686b892137598948469db3c6bd1793dca0d0b.zip
edk2-ab8686b892137598948469db3c6bd1793dca0d0b.tar.gz
edk2-ab8686b892137598948469db3c6bd1793dca0d0b.tar.bz2
MdePkg: Add UEFI 2.5 SD (Secure Digital) Device Path Definitions
Contributed-under: TianoCore Contribution Agreement 1.0 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@17383 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/DevicePath.h')
-rw-r--r--MdePkg/Include/Protocol/DevicePath.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h
index de24db1..1dbb1a1 100644
--- a/MdePkg/Include/Protocol/DevicePath.h
+++ b/MdePkg/Include/Protocol/DevicePath.h
@@ -824,6 +824,15 @@ typedef struct {
} UFS_DEVICE_PATH;
///
+/// SD (Secure Digital) Device Path SubType.
+///
+#define MSG_SD_DP 0x1A
+typedef struct {
+ EFI_DEVICE_PATH_PROTOCOL Header;
+ UINT8 SlotNumber;
+} SD_DEVICE_PATH;
+
+///
/// iSCSI Device Path SubType
///
#define MSG_ISCSI_DP 0x13
@@ -1137,6 +1146,7 @@ typedef union {
URI_DEVICE_PATH Uri;
BLUETOOTH_DEVICE_PATH Bluetooth;
UFS_DEVICE_PATH Ufs;
+ SD_DEVICE_PATH Sd;
HARDDRIVE_DEVICE_PATH HardDrive;
CDROM_DEVICE_PATH CD;
@@ -1190,6 +1200,7 @@ typedef union {
URI_DEVICE_PATH *Uri;
BLUETOOTH_DEVICE_PATH *Bluetooth;
UFS_DEVICE_PATH *Ufs;
+ SD_DEVICE_PATH *Sd;
HARDDRIVE_DEVICE_PATH *HardDrive;
CDROM_DEVICE_PATH *CD;