summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/DevicePath.h
diff options
context:
space:
mode:
authorFeng Tian <feng.tian@intel.com>2016-03-22 23:15:53 +0800
committerFeng Tian <feng.tian@intel.com>2016-03-30 11:18:04 +0800
commit5c67fb2f4c61f8b42f9711b1660b29d91109636f (patch)
treef137042556bf122bb7e1eaf7503f168d7230eee3 /MdePkg/Include/Protocol/DevicePath.h
parent03e17578402a7b0dad5def719170429ad570a21f (diff)
downloadedk2-5c67fb2f4c61f8b42f9711b1660b29d91109636f.zip
edk2-5c67fb2f4c61f8b42f9711b1660b29d91109636f.tar.gz
edk2-5c67fb2f4c61f8b42f9711b1660b29d91109636f.tar.bz2
MdePkg/DevicePath: Add EMMC device path definition
This device path node is introduced in UEFI2.6 spec. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
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 631136be..9a9ad2c 100644
--- a/MdePkg/Include/Protocol/DevicePath.h
+++ b/MdePkg/Include/Protocol/DevicePath.h
@@ -855,6 +855,15 @@ typedef struct {
} SD_DEVICE_PATH;
///
+/// EMMC (Embedded MMC) Device Path SubType.
+///
+#define MSG_EMMC_DP 0x1D
+typedef struct {
+ EFI_DEVICE_PATH_PROTOCOL Header;
+ UINT8 SlotNumber;
+} EMMC_DEVICE_PATH;
+
+///
/// iSCSI Device Path SubType
///
#define MSG_ISCSI_DP 0x13
@@ -1239,6 +1248,7 @@ typedef union {
WIFI_DEVICE_PATH WiFi;
UFS_DEVICE_PATH Ufs;
SD_DEVICE_PATH Sd;
+ EMMC_DEVICE_PATH Emmc;
HARDDRIVE_DEVICE_PATH HardDrive;
CDROM_DEVICE_PATH CD;
@@ -1295,6 +1305,7 @@ typedef union {
WIFI_DEVICE_PATH *WiFi;
UFS_DEVICE_PATH *Ufs;
SD_DEVICE_PATH *Sd;
+ EMMC_DEVICE_PATH *Emmc;
HARDDRIVE_DEVICE_PATH *HardDrive;
CDROM_DEVICE_PATH *CD;