12#ifndef __LOADED_IMAGE_PROTOCOL_H__
13#define __LOADED_IMAGE_PROTOCOL_H__
18#define EFI_LOADED_IMAGE_PROTOCOL_GUID \
20 0x5B1B31A1, 0x9562, 0x11d2, {0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \
23#define EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL_GUID \
25 0xbc62157e, 0x3e33, 0x4fec, {0x99, 0x20, 0x2d, 0x3b, 0x36, 0xd7, 0x50, 0xdf } \
31#define LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE_PROTOCOL_GUID
36#define EFI_LOADED_IMAGE_PROTOCOL_REVISION 0x1000
41#define EFI_LOADED_IMAGE_INFORMATION_REVISION EFI_LOADED_IMAGE_PROTOCOL_REVISION
unsigned long long UINT64
8-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
#define VOID
Undeclared type.
EFI_GUID gEfiLoadedImageDevicePathProtocolGuid
EFI_LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE
EFI_GUID gEfiLoadedImageProtocolGuid
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
EFI_MEMORY_TYPE
Enumeration of memory types introduced in UEFI.
EFI_STATUS(EFIAPI * EFI_IMAGE_UNLOAD)(IN EFI_HANDLE ImageHandle)
Unloads an image.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
This protocol can be used on any device handle to obtain generic path/location information concerning...
Can be used on any image handle to obtain information about 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.
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
Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.
VOID * Reserved
Reserved. DO NOT USE.
UINT64 ImageSize
The size in bytes of the loaded image.
EFI_HANDLE ParentHandle
Parent image's image handle.
EFI_SYSTEM_TABLE * SystemTable
the image's EFI system table pointer.
VOID * ImageBase
The base address at which the image was loaded.