summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/LoadedImage.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/LoadedImage.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/LoadedImage.h')
-rw-r--r--MdePkg/Include/Protocol/LoadedImage.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/MdePkg/Include/Protocol/LoadedImage.h b/MdePkg/Include/Protocol/LoadedImage.h
index 2a0a236362..a8185636ba 100644
--- a/MdePkg/Include/Protocol/LoadedImage.h
+++ b/MdePkg/Include/Protocol/LoadedImage.h
@@ -28,10 +28,20 @@
}
//
+// Protocol GUID defined in EFI1.1.
+//
+#define LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE_PROTOCOL_GUID
+
+//
// EFI_SYSTEM_TABLE & EFI_IMAGE_UNLOAD are defined in EfiApi.h
//
-#define EFI_LOADED_IMAGE_INFORMATION_REVISION 0x1000
-#define EFI_LOADED_IMAGE_PROTOCOL_REVISION EFI_LOADED_IMAGE_INFORMATION_REVISION
+#define EFI_LOADED_IMAGE_PROTOCOL_REVISION 0x1000
+
+//
+// Revision defined in EFI1.1.
+//
+#define EFI_LOADED_IMAGE_INFORMATION_REVISION EFI_LOADED_IMAGE_PROTOCOL_REVISION
+
typedef struct {
UINT32 Revision;
@@ -66,6 +76,11 @@ typedef struct {
} EFI_LOADED_IMAGE_PROTOCOL;
+//
+// For backward-compatible with EFI1.1.
+//
+typedef EFI_LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE;
+
extern EFI_GUID gEfiLoadedImageProtocolGuid;
#endif