12#ifndef __LOADED_IMAGE_PROTOCOL_H__
13#define __LOADED_IMAGE_PROTOCOL_H__
15#define EFI_LOADED_IMAGE_PROTOCOL_GUID \
17 0x5B1B31A1, 0x9562, 0x11d2, {0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \
20#define EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL_GUID \
22 0xbc62157e, 0x3e33, 0x4fec, {0x99, 0x20, 0x2d, 0x3b, 0x36, 0xd7, 0x50, 0xdf } \
28#define LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE_PROTOCOL_GUID
33#define EFI_LOADED_IMAGE_PROTOCOL_REVISION 0x1000
38#define EFI_LOADED_IMAGE_INFORMATION_REVISION EFI_LOADED_IMAGE_PROTOCOL_REVISION
79extern EFI_GUID gEfiLoadedImageProtocolGuid;
80extern EFI_GUID gEfiLoadedImageDevicePathProtocolGuid;
EFI_STATUS(EFIAPI * EFI_IMAGE_UNLOAD)(IN EFI_HANDLE ImageHandle)
EFI_DEVICE_PATH_PROTOCOL * FilePath
EFI_MEMORY_TYPE ImageDataType
The memory type that the data sections were loaded as.
VOID * LoadOptions
A pointer to the image's binary load options.
EFI_HANDLE DeviceHandle
The device handle that the EFI Image was loaded from.
UINT32 LoadOptionsSize
The size in bytes of LoadOptions.
EFI_MEMORY_TYPE ImageCodeType
The memory type that the code sections were loaded as.
VOID * Reserved
Reserved. DO NOT USE.
UINT64 ImageSize
The size in bytes of the loaded image.
EFI_SYSTEM_TABLE * SystemTable
the image's EFI system table pointer.
VOID * ImageBase
The base address at which the image was loaded.