11 ebc interpreter protocol, Efi_ebc_protocol – Intel Extensible Firmware Interface User Manual
Page 837

EFI Byte Code Virtual Machine
Version 1.10
12/01/02
19-63
19.11 EBC Interpreter Protocol
The EFI EBC protocol provides services to execute EBC images, which will typically be loaded
into option ROMs.
EFI_EBC_PROTOCOL
Summary
This protocol provides the services that allow execution of EBC images.
GUID
#define EFI_EBC_PROTOCOL_GUID \
{0x13AC6DD1,0x73D0,0x11D4,0xB0,0x6B,0x00,0xAA,0x00,0xBD,0x6D,0xE7}
Protocol Interface Structure
typedef struct _EFI_EBC_PROTOCOL {
EFI_EBC_CREATE_THUNK
CreateThunk;
EFI_EBC_UNLOAD_IMAGE
UnloadImage;
EFI_EBC_REGISTER_ICACHE_FLUSH
RegisterICacheFlush;
EFI_EBC_GET_VERSION
GetVersion;
} EFI_EBC_PROTOCOL;
Parameters
CreateThunk
Creates a thunk for an EBC image entry point or protocol service, and
returns a pointer to the thunk. See the
function
description.
UnloadImage
Called when an EBC image is unloaded to allow the interpreter to
perform any cleanup associated with the image’s execution. See the
function description.
RegisterICacheFlush
Called to register a callback function that the EBC interpreter can call to
flush the processor instruction cache after creating thunks. See the
function description.
GetVersion
Called to get the version of the associated EBC interpreter. See the
function description.