summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorNigel Croxon <nigel.croxon@hpe.com>2015-08-17 16:00:33 -0400
committerNigel Croxon <nigel.croxon@hpe.com>2015-08-17 16:00:33 -0400
commitad7f0d4ba29e8c94649e8ea2a9339b843126be21 (patch)
treedc69d1ae777de87067ab39465f2a7ceedba3de24 /inc
parent11a459ba967bcdaed8c31c6ce4bbfb7ec54f8233 (diff)
downloadgnu-efi-ad7f0d4ba29e8c94649e8ea2a9339b843126be21.tar.gz
From: Gary Ching-Pang Lin <chingpang@gmail.com>
Date: Mon, 17 Aug 2015 17:00:11 +0800 Subject: [PATCH] Add URI Device Path Add the definition of URI Device Path according to UEFI 2.4c. Signed-off-by: Gary Ching-Pang Lin <chingpang@gmail.com> Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/efidevp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/efidevp.h b/inc/efidevp.h
index 4c7058e..38923d9 100644
--- a/inc/efidevp.h
+++ b/inc/efidevp.h
@@ -298,6 +298,17 @@ typedef struct _IPv6_DEVICE_PATH {
EFI_IPv6_ADDRESS GatewayIpAddress ;
} IPv6_DEVICE_PATH;
+
+/**
+ * Uniform Resource Identifiers SubType.
+ * UEFI 2.0 specification version 2.4C § 9.3.5.23.
+ */
+#define MSG_URI_DP 24
+typedef struct _URI_DEVICE_PATH {
+ EFI_DEVICE_PATH Header;
+ CHAR8 Uri[1];
+} URI_DEVICE_PATH;
+
/**
* Device Logical Unit SubType.
* UEFI 2.0 specification version 2.4 § 9.3.5.8.