iPXE
EFI_LOADED_IMAGE_PROTOCOL Struct Reference

Can be used on any image handle to obtain information about the loaded image. More...

#include <LoadedImage.h>

Data Fields

UINT32 Revision
 Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.
EFI_HANDLE ParentHandle
 Parent image's image handle.
EFI_SYSTEM_TABLESystemTable
 the image's EFI system table pointer.
EFI_HANDLE DeviceHandle
 The device handle that the EFI Image was loaded from.
EFI_DEVICE_PATH_PROTOCOLFilePath
 A pointer to the file path portion specific to DeviceHandle that the EFI Image was loaded from.
VOIDReserved
 Reserved. DO NOT USE.
UINT32 LoadOptionsSize
 The size in bytes of LoadOptions.
VOIDLoadOptions
 A pointer to the image's binary load options.
VOIDImageBase
 The base address at which the image was loaded.
UINT64 ImageSize
 The size in bytes of the loaded image.
EFI_MEMORY_TYPE ImageCodeType
 The memory type that the code sections were loaded as.
EFI_MEMORY_TYPE ImageDataType
 The memory type that the data sections were loaded as.
EFI_IMAGE_UNLOAD Unload

Detailed Description

Can be used on any image handle to obtain information about the loaded image.

Definition at line 46 of file LoadedImage.h.

Field Documentation

◆ Revision

UINT32 EFI_LOADED_IMAGE_PROTOCOL::Revision

Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.

All future revisions will be backward compatible to the current revision.

Definition at line 47 of file LoadedImage.h.

◆ ParentHandle

EFI_HANDLE EFI_LOADED_IMAGE_PROTOCOL::ParentHandle

Parent image's image handle.

NULL if the image is loaded directly from the firmware's boot manager.

Definition at line 49 of file LoadedImage.h.

Referenced by efi_dump_image(), efi_first_loaded_image_name(), and efi_image_exec().

◆ SystemTable

EFI_SYSTEM_TABLE* EFI_LOADED_IMAGE_PROTOCOL::SystemTable

the image's EFI system table pointer.

Definition at line 51 of file LoadedImage.h.

◆ DeviceHandle

EFI_HANDLE EFI_LOADED_IMAGE_PROTOCOL::DeviceHandle

The device handle that the EFI Image was loaded from.

Definition at line 56 of file LoadedImage.h.

Referenced by efi_dump_image(), and efi_image_exec().

◆ FilePath

EFI_DEVICE_PATH_PROTOCOL* EFI_LOADED_IMAGE_PROTOCOL::FilePath

A pointer to the file path portion specific to DeviceHandle that the EFI Image was loaded from.

Definition at line 57 of file LoadedImage.h.

Referenced by efi_dump_image(), and efi_loaded_image_filepath_name().

◆ Reserved

VOID* EFI_LOADED_IMAGE_PROTOCOL::Reserved

Reserved. DO NOT USE.

Definition at line 59 of file LoadedImage.h.

◆ LoadOptionsSize

UINT32 EFI_LOADED_IMAGE_PROTOCOL::LoadOptionsSize

The size in bytes of LoadOptions.

Definition at line 64 of file LoadedImage.h.

Referenced by efi_image_exec().

◆ LoadOptions

VOID* EFI_LOADED_IMAGE_PROTOCOL::LoadOptions

A pointer to the image's binary load options.

Definition at line 65 of file LoadedImage.h.

Referenced by efi_image_exec().

◆ ImageBase

VOID* EFI_LOADED_IMAGE_PROTOCOL::ImageBase

The base address at which the image was loaded.

Definition at line 70 of file LoadedImage.h.

Referenced by efi_dump_image(), efi_pecoff_debug_name(), and efi_veto_find().

◆ ImageSize

UINT64 EFI_LOADED_IMAGE_PROTOCOL::ImageSize

The size in bytes of the loaded image.

Definition at line 71 of file LoadedImage.h.

Referenced by efi_veto_find().

◆ ImageCodeType

EFI_MEMORY_TYPE EFI_LOADED_IMAGE_PROTOCOL::ImageCodeType

The memory type that the code sections were loaded as.

Definition at line 72 of file LoadedImage.h.

Referenced by efi_image_exec().

◆ ImageDataType

EFI_MEMORY_TYPE EFI_LOADED_IMAGE_PROTOCOL::ImageDataType

The memory type that the data sections were loaded as.

Definition at line 73 of file LoadedImage.h.

◆ Unload

EFI_IMAGE_UNLOAD EFI_LOADED_IMAGE_PROTOCOL::Unload

Definition at line 74 of file LoadedImage.h.


The documentation for this struct was generated from the following file: