iPXE
Data Fields
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. More...
 
EFI_HANDLE ParentHandle
 Parent image's image handle. More...
 
EFI_SYSTEM_TABLESystemTable
 the image's EFI system table pointer. More...
 
EFI_HANDLE DeviceHandle
 The device handle that the EFI Image was loaded from. More...
 
EFI_DEVICE_PATH_PROTOCOLFilePath
 A pointer to the file path portion specific to DeviceHandle that the EFI Image was loaded from. More...
 
VOIDReserved
 Reserved. DO NOT USE. More...
 
UINT32 LoadOptionsSize
 The size in bytes of LoadOptions. More...
 
VOIDLoadOptions
 A pointer to the image's binary load options. More...
 
VOIDImageBase
 The base address at which the image was loaded. More...
 
UINT64 ImageSize
 The size in bytes of the loaded image. More...
 
EFI_MEMORY_TYPE ImageCodeType
 The memory type that the code sections were loaded as. More...
 
EFI_MEMORY_TYPE ImageDataType
 The memory type that the data sections were loaded as. More...
 
EFI_IMAGE_UNLOAD Unload
 

Detailed Description

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

Definition at line 45 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 46 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 48 of file LoadedImage.h.

Referenced by efi_first_loaded_image_name().

◆ SystemTable

EFI_SYSTEM_TABLE* EFI_LOADED_IMAGE_PROTOCOL::SystemTable

the image's EFI system table pointer.

Definition at line 50 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 55 of file LoadedImage.h.

Referenced by chained_locate(), efi_autoexec_filesystem(), efi_autoexec_load(), efi_autoexec_network(), efi_init(), and efi_init_application().

◆ 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 56 of file LoadedImage.h.

Referenced by efi_loaded_image_filepath_name(), and efi_local_open_path().

◆ Reserved

VOID* EFI_LOADED_IMAGE_PROTOCOL::Reserved

Reserved. DO NOT USE.

Definition at line 58 of file LoadedImage.h.

◆ LoadOptionsSize

UINT32 EFI_LOADED_IMAGE_PROTOCOL::LoadOptionsSize

The size in bytes of LoadOptions.

Definition at line 63 of file LoadedImage.h.

Referenced by efi_init().

◆ LoadOptions

VOID* EFI_LOADED_IMAGE_PROTOCOL::LoadOptions

A pointer to the image's binary load options.

Definition at line 64 of file LoadedImage.h.

Referenced by efi_init().

◆ ImageBase

VOID* EFI_LOADED_IMAGE_PROTOCOL::ImageBase

The base address at which the image was loaded.

Definition at line 69 of file LoadedImage.h.

Referenced by efi_init(), and efi_pecoff_debug_name().

◆ ImageSize

UINT64 EFI_LOADED_IMAGE_PROTOCOL::ImageSize

The size in bytes of the loaded image.

Definition at line 70 of file LoadedImage.h.

◆ ImageCodeType

EFI_MEMORY_TYPE EFI_LOADED_IMAGE_PROTOCOL::ImageCodeType

The memory type that the code sections were loaded as.

Definition at line 71 of file LoadedImage.h.

◆ ImageDataType

EFI_MEMORY_TYPE EFI_LOADED_IMAGE_PROTOCOL::ImageDataType

The memory type that the data sections were loaded as.

Definition at line 72 of file LoadedImage.h.

◆ Unload

EFI_IMAGE_UNLOAD EFI_LOADED_IMAGE_PROTOCOL::Unload

Definition at line 73 of file LoadedImage.h.

Referenced by _efi_start(), and efi_init().


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