18#ifndef __LOADED_IMAGE_PROTOCOL_H__
19#define __LOADED_IMAGE_PROTOCOL_H__
21#define EFI_LOADED_IMAGE_PROTOCOL_GUID \
23 0x5B1B31A1, 0x9562, 0x11d2, { 0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \
26#define EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL_GUID \
28 0xbc62157e, 0x3e33, 0x4fec, { 0x99, 0x20, 0x2d, 0x3b, 0x36, 0xd7, 0x50, 0xdf } \
34#define LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE_PROTOCOL_GUID
39#define EFI_LOADED_IMAGE_PROTOCOL_REVISION 0x1000
44#define EFI_LOADED_IMAGE_INFORMATION_REVISION EFI_LOADED_IMAGE_PROTOCOL_REVISION
EFI_GUID gEfiLoadedImageDevicePathProtocolGuid
EFI_LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE
EFI_GUID gEfiLoadedImageProtocolGuid
unsigned long long UINT64
EFI_STATUS(EFIAPI * EFI_IMAGE_UNLOAD)(IN EFI_HANDLE ImageHandle)
EFI_DEVICE_PATH_PROTOCOL * FilePath
that the EFI Image was loaded from.
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.
UINT32 Revision
All future revisions will be backward compatible to the current revision.
VOID * Reserved
Reserved. DO NOT USE.
UINT64 ImageSize
The size in bytes of the loaded image.
EFI_HANDLE ParentHandle
the firmware's boot manager.
EFI_SYSTEM_TABLE * SystemTable
the image's EFI system table pointer.
VOID * ImageBase
The base address at which the image was loaded.