summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/DevicePath.h
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-21 07:16:27 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-21 07:16:27 +0000
commita6508c051b680c94e8823070c655a857487e862e (patch)
tree08c2d9108cc6fb22c59c0015da8fd3dcd2e0a557 /MdePkg/Include/Protocol/DevicePath.h
parent53f2d96e2e17ec78b040729127456ad9c65ac5c6 (diff)
downloadedk2-platforms-a6508c051b680c94e8823070c655a857487e862e.tar.xz
Update Protocol for backward-compatible with EFI1.1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2696 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/DevicePath.h')
-rw-r--r--MdePkg/Include/Protocol/DevicePath.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h
index 6ff0050437..77b79a0c6f 100644
--- a/MdePkg/Include/Protocol/DevicePath.h
+++ b/MdePkg/Include/Protocol/DevicePath.h
@@ -30,8 +30,13 @@
}
//
+// Protocol GUID defined in EFI1.1.
+//
+
+//
// Device Path information
//
+#define DEVICE_PATH_PROTOCOL EFI_DEVICE_PATH_PROTOCOL_GUID
#pragma pack(1)
@@ -42,6 +47,11 @@ typedef struct {
} EFI_DEVICE_PATH_PROTOCOL;
//
+// For backward-compatible with EFI1.1.
+//
+typedef EFI_DEVICE_PATH_PROTOCOL EFI_DEVICE_PATH;
+
+//
// Hardware Device Paths
//
#define HARDWARE_DEVICE_PATH 0x01