12 #ifndef __LOADED_IMAGE_PROTOCOL_H__ 13 #define __LOADED_IMAGE_PROTOCOL_H__ 17 #define EFI_LOADED_IMAGE_PROTOCOL_GUID \ 19 0x5B1B31A1, 0x9562, 0x11d2, {0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \ 22 #define EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL_GUID \ 24 0xbc62157e, 0x3e33, 0x4fec, {0x99, 0x20, 0x2d, 0x3b, 0x36, 0xd7, 0x50, 0xdf } \ 30 #define LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE_PROTOCOL_GUID 35 #define EFI_LOADED_IMAGE_PROTOCOL_REVISION 0x1000 40 #define EFI_LOADED_IMAGE_INFORMATION_REVISION EFI_LOADED_IMAGE_PROTOCOL_REVISION EFI_GUID gEfiLoadedImageProtocolGuid
128 bit buffer containing a unique identifier value.
UINT64 ImageSize
The size in bytes of the loaded image.
EFI_DEVICE_PATH_PROTOCOL * FilePath
A pointer to the file path portion specific to DeviceHandle that the EFI Image was loaded from.
VOID * ImageBase
The base address at which the image was loaded.
This protocol can be used on any device handle to obtain generic path/location information concerning...
EFI_MEMORY_TYPE ImageCodeType
The memory type that the code sections were loaded as.
UINT32 Revision
Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.
Can be used on any image handle to obtain information about the loaded image.
EFI_MEMORY_TYPE
Enumeration of memory types introduced in UEFI.
VOID * LoadOptions
A pointer to the image's binary load options.
EFI_GUID gEfiLoadedImageDevicePathProtocolGuid
EFI_MEMORY_TYPE ImageDataType
The memory type that the data sections were loaded as.
EFI_STATUS(EFIAPI * EFI_IMAGE_UNLOAD)(IN EFI_HANDLE ImageHandle)
Unloads an image.
FILE_LICENCE(BSD2_PATENT)
#define VOID
Undeclared type.
unsigned long long UINT64
UINT32 LoadOptionsSize
The size in bytes of LoadOptions.
VOID * Reserved
Reserved. DO NOT USE.
EFI_SYSTEM_TABLE * SystemTable
the image's EFI system table pointer.
EFI_HANDLE ParentHandle
Parent image's image handle.
EFI_HANDLE DeviceHandle
The device handle that the EFI Image was loaded from.
EFI_LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE