TianoCore EDK2 master
|
Go to the source code of this file.
Prototypes for the EBC Debugger hooks.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file EbcDebuggerHook.h.
VOID EbcDebuggerHookCALLEnd | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookCALLEXEnd | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookCALLEXStart | ( | IN VM_CONTEXT * | VmPtr | ) |
The hook in ExecuteCALL, before call EbcLLCALLEX.
VmPtr | - pointer to VM context. |
The hook in ExecuteCALL, before call EbcLLCALLEX. It will trigger Exception if BOCX enabled, and record Callstack information.
VmPtr | - pointer to VM context. |
VOID EbcDebuggerHookCALLStart | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookEbcInterpret | ( | IN VM_CONTEXT * | VmPtr | ) |
The hook in ExecuteEbcImageEntryPoint.
VmPtr | - pointer to VM context. |
The hook in ExecuteEbcImageEntryPoint. It will record the call-stack entry. (-2 means EbcInterpret call) and trigger Exception if BOT enabled.
VmPtr | - pointer to VM context. |
VOID EbcDebuggerHookEbcUnloadImage | ( | IN EFI_HANDLE | Handle | ) |
VOID EbcDebuggerHookExecuteEbcImageEntryPoint | ( | IN VM_CONTEXT * | VmPtr | ) |
Hooks in EbcSupport.c
VmPtr | - pointer to VM context. |
The hook in ExecuteEbcImageEntryPoint. It will record the call-stack entry. (-1 means EbcImageEntryPoint call) and trigger Exception if BOE enabled.
VmPtr | - pointer to VM context. |
The hook in ExecuteEbcImageEntryPoint.
VmPtr | - pointer to VM context. |
VOID EbcDebuggerHookExecuteEnd | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookExecuteStart | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookInit | ( | IN EFI_HANDLE | Handle, |
IN EFI_DEBUG_SUPPORT_PROTOCOL * | EbcDebugProtocol | ||
) |
The hook in InitializeEbcDriver.
Handle | - The EbcDebugProtocol handle. |
EbcDebugProtocol | - The EbcDebugProtocol interface. |
The hook in InitializeEbcDriver. It will init the EbcDebuggerPrivate data structure.
Handle | - The EbcDebugProtocol handle. |
EbcDebugProtocol | - The EbcDebugProtocol interface. |
VOID EbcDebuggerHookJMP8End | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookJMP8Start | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookJMPEnd | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookJMPStart | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookRETEnd | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookRETStart | ( | IN VM_CONTEXT * | VmPtr | ) |
VOID EbcDebuggerHookUnload | ( | VOID | ) |
EFI_STATUS EbcDebugSignalException | ( | IN EFI_EXCEPTION_TYPE | ExceptionType, |
IN EXCEPTION_FLAGS | ExceptionFlags, | ||
IN VM_CONTEXT * | VmPtr | ||
) |
The VM interpreter calls this function when an exception is detected.
ExceptionType | Specifies the processor exception detected. |
ExceptionFlags | Specifies the exception context. |
VmPtr | Pointer to a VM context for passing info to the EFI debugger. |
EFI_SUCCESS | This function completed successfully. |