beautypg.com

7 protocols - efi loaded image, Efi_loaded_image protocol, Loaded_image – Intel Extensible Firmware Interface User Manual

Page 217: Loaded_image protocol, T the, Efi_loaded_image, Proto, 7protocols - efi loaded image

background image

Version 1.10

12/01/02

7-1

7

Protocols - EFI Loaded Image

This chapter defines the

EFI_LOADED_IMAGE

protocol. This protocol describes an EFI Image

that has been loaded into memory. This description includes the source from which the image was
loaded, the current location of the image in memory, the type of memory allocated for the image,
and the parameters passed to the image when it was invoked.

EFI_LOADED_IMAGE Protocol

Summary

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

GUID

#define LOADED_IMAGE_PROTOCOL

\

{0x5B1B31A1,0x9562,0x11d2,0x8E,0x3F,0x00,0xA0,0xC9,0x69,0x72,0x3B}

Revision Number

#define EFI_LOADED_IMAGE_INFORMATION_REVISION

0x1000

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;