summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/LoadedImage.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 10:37:15 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 10:37:15 +0000
commit4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086 (patch)
tree9a160b769c30da11432d201c7ba7214ef452f650 /MdePkg/Include/Protocol/LoadedImage.h
parentbb80e3b213f1d9409cd97a63e4d40191ce502912 (diff)
downloadedk2-platforms-4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086.tar.xz
Code Scrub for Protocol and Ppi Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/LoadedImage.h')
-rw-r--r--MdePkg/Include/Protocol/LoadedImage.h48
1 files changed, 47 insertions, 1 deletions
diff --git a/MdePkg/Include/Protocol/LoadedImage.h b/MdePkg/Include/Protocol/LoadedImage.h
index c9e5741fad..f87011930b 100644
--- a/MdePkg/Include/Protocol/LoadedImage.h
+++ b/MdePkg/Include/Protocol/LoadedImage.h
@@ -4,7 +4,7 @@
Every EFI driver and application is passed an image handle when it is loaded.
This image handle will contain a Loaded Image Protocol.
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -45,7 +45,53 @@
//
#define EFI_LOADED_IMAGE_INFORMATION_REVISION EFI_LOADED_IMAGE_PROTOCOL_REVISION
+/**
+ @par Protocol Description:
+ Can be used on any image handle to obtain information about the loaded image.
+ @param Revision
+ Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.
+ All future revisions will be backward compatible to the current revision.
+
+ @param ParentHandle
+ Parent image's image handle. NULL if the image is loaded directly from
+ the firmware's boot manager.
+
+ @param SystemTable
+ The image's EFI system table pointer.
+
+ @param DeviceHandle
+ The device handle that the EFI Image was loaded from.
+
+ @param FilePath
+ A pointer to the file path portion specific to DeviceHandle
+ that the EFI Image was loaded from.
+
+ @param Reserved
+ Reserved. DO NOT USE.
+
+ @param LoadOptionsSize
+ The size in bytes of LoadOptions.
+
+ @param LoadOptions
+ A pointer to the image's binary load options.
+
+ @param ImageBase
+ The base address at which the image was loaded.
+
+ @param ImageSize
+ The size in bytes of the loaded image.
+
+ @param ImageCodeType
+ The memory
+
+ @param ImageDataType
+ The memory
+
+ @param Unload
+ Function that unloads the image.
+
+**/
typedef struct {
UINT32 Revision;
EFI_HANDLE ParentHandle;