Extensible Firmware Interface Specification
106 12/12/00 Version 1.02
Protocol Interface Structure
typedef struct {
UINT32 Revision;
EFI_HANDLE ParentHandle;
EFI_SYSTEM_TABLE *SystemTable;
// Source location of the image
EFI_HANDLE DeviceHandle;
EFI_DEVICE_PATH *FilePath;
VOID *Reserved;
// Image’s load options
UINT32 LoadOptionsSize;
VOID *LoadOptions;
// Location where image was loaded
VOID *ImageBase;
UINT64 ImageSize;
EFI_MEMORY_TYPE ImageCodeType;
EFI_MEMORY_TYPE ImageDataType;
EFI_IMAGE_UNLOAD Unload;
} EFI_LOADED_IMAGE;
Parameters
Revision Defines the revision of the EFI_LOADED_IMAGE structure.
All future revisions will be backward compatible to the current
revision.
ParentHandle Parent image’s image handle. NULL if the ima ge is loaded
directly from the firmware’s boot manager. Type EFI_HANDLE
is defined in Chapter 3.
SystemTable The image’s EFI system table pointer. Type
EFI_SYSTEM_TABLE is defined in Section 4.5.1.
DeviceHandle The device handle that the EFI Image was loaded from. Type
EFI_HANDLE is defined in Chapter 3.
FilePath A pointer to the file path portion specific to DeviceHandle
that the EFI Image was loaded from. Type
EFI_DEVICE_PATH is defined in Chapter 3.
Reserved Reserved. DO NOT USE.
LoadOptionsSize The size in bytes of LoadOptions.