From 4128acd90e08ae877e61eed1b3142cee6f8dfc1f Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Fri, 8 May 2015 07:31:12 +0000 Subject: MdePkg: Add URI_DEVICE_PATH definition. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Feng Tian git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17369 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/DevicePath.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'MdePkg') diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index 4d2f340..de24db1 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -796,6 +796,18 @@ typedef struct { } NVME_NAMESPACE_DEVICE_PATH; /// +/// Uniform Resource Identifiers (URI) Device Path SubType +/// +#define MSG_URI_DP 0x18 +typedef struct { + EFI_DEVICE_PATH_PROTOCOL Header; + /// + /// Instance of the URI pursuant to RFC 3986. + /// + CHAR8 Uri[]; +} URI_DEVICE_PATH; + +/// /// Universal Flash Storage (UFS) Device Path SubType. /// #define MSG_UFS_DP 0x19 @@ -1122,6 +1134,7 @@ typedef union { SAS_DEVICE_PATH Sas; SASEX_DEVICE_PATH SasEx; NVME_NAMESPACE_DEVICE_PATH NvmeNamespace; + URI_DEVICE_PATH Uri; BLUETOOTH_DEVICE_PATH Bluetooth; UFS_DEVICE_PATH Ufs; HARDDRIVE_DEVICE_PATH HardDrive; @@ -1174,6 +1187,7 @@ typedef union { SAS_DEVICE_PATH *Sas; SASEX_DEVICE_PATH *SasEx; NVME_NAMESPACE_DEVICE_PATH *NvmeNamespace; + URI_DEVICE_PATH *Uri; BLUETOOTH_DEVICE_PATH *Bluetooth; UFS_DEVICE_PATH *Ufs; HARDDRIVE_DEVICE_PATH *HardDrive; -- cgit v1.1