Efi_debug_support_protocol, Debug_support, Debug support protocol – Intel Extensible Firmware Interface User Manual

Page 717

Advertising
background image

Protocols

— Debugger Support

Version 1.10

12/01/02

16-3

EFI_DEBUG_SUPPORT_PROTOCOL

Summary

This protocol provides the services to allow the debug agent to register callback functions that are
called either periodically or when specific processor exceptions occur.

GUID

#define EFI_DEBUG_SUPPORT_PROTOCOL_GUID \

{0x2755590C,0x6F3C,0x42FA,0x9E,0xA4,0xA3,0xBA,0x54,0x3C,0xDA,0x25}

Protocol Interface Structure

typedef struct {
EFI_INSTRUCTION_SET_ARCHITECTURE

Isa;

EFI_GET_MAXIMUM_PROCESSOR_INDEX

GetMaximumProcessorIndex;

EFI_REGISTER_PERIODIC_CALLBACK

RegisterPeriodicCallback;

EFI_REGISTER_EXCEPTION_CALLBACK

RegisterExceptionCallback;

EFI_INVALIDATE_INSTRUCTION_CACHE

InvalidateInstructionCache;

} EFI_DEBUG_SUPPORT_PROTOCOL;

Parameters

Isa

Declares the processor architecture for this instance of the EFI Debug
Support protocol.

GetMaximumProcessorIndex

Returns the maximum processor index value that may be used with

RegisterPeriodicCallback()

and

RegisterExceptionCallback()

. See the

GetMaximumProcessorIndex()

function description.

RegisterPeriodicCallback

Registers a callback function that will be invoked periodically and
asynchronously to the execution of EFI. See the

RegisterPeriodicCallback()

function description.

RegisterExceptionCallback

Registers a callback function that will be called each time the
specified processor exception occurs. See the

RegisterExceptionCallback()

function description.

Advertising