diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-05-08 07:31:12 +0000 |
---|---|---|
committer | niruiyu <niruiyu@Edk2> | 2015-05-08 07:31:12 +0000 |
commit | 4128acd90e08ae877e61eed1b3142cee6f8dfc1f (patch) | |
tree | f44cfd7ee39bce3ad7bf6b47368bfe19bd346834 | |
parent | 1d956501fe94a3661e501c6fa1d699f442cf4c79 (diff) | |
download | edk2-4128acd90e08ae877e61eed1b3142cee6f8dfc1f.zip edk2-4128acd90e08ae877e61eed1b3142cee6f8dfc1f.tar.gz edk2-4128acd90e08ae877e61eed1b3142cee6f8dfc1f.tar.bz2 |
MdePkg: Add URI_DEVICE_PATH definition.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17369 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Protocol/DevicePath.h | 14 |
1 files changed, 14 insertions, 0 deletions
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;
|