2 Contains the empty version of the EBC Debugger hooks, to be used when
3 compiling the regular EBC VM module.
4 As debugging is not needed for the standard EBC VM, all calls are left empty.
6 The EBC Debugger defines its own version for these calls in EbdHooks.c.
8 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
9 SPDX-License-Identifier: BSD-2-Clause-Patent
13 #include "EbcDebuggerHook.h"
17 The hook in InitializeEbcDriver.
19 @param Handle - The EbcDebugProtocol handle.
20 @param EbcDebugProtocol - The EbcDebugProtocol interface.
26 IN EFI_DEBUG_SUPPORT_PROTOCOL
*EbcDebugProtocol
34 The hook in UnloadImage for EBC Interpreter.
38 EbcDebuggerHookUnload (
47 The hook in EbcUnloadImage.
48 Currently do nothing here.
50 @param Handle The EbcImage handle.
54 EbcDebuggerHookEbcUnloadImage (
63 The hook in ExecuteEbcImageEntryPoint.
65 @param VmPtr - pointer to VM context.
69 EbcDebuggerHookExecuteEbcImageEntryPoint (
78 The hook in ExecuteEbcImageEntryPoint.
80 @param VmPtr - pointer to VM context.
84 EbcDebuggerHookEbcInterpret (
92 The hook in EbcExecute, before ExecuteFunction.
94 @param VmPtr - pointer to VM context.
98 EbcDebuggerHookExecuteStart (
106 The hook in EbcExecute, after ExecuteFunction.
108 @param VmPtr - pointer to VM context.
112 EbcDebuggerHookExecuteEnd (
121 The hook in ExecuteCALL, before move IP.
123 @param VmPtr - pointer to VM context.
127 EbcDebuggerHookCALLStart (
136 The hook in ExecuteCALL, after move IP.
138 @param VmPtr - pointer to VM context.
142 EbcDebuggerHookCALLEnd (
151 The hook in ExecuteCALL, before call EbcLLCALLEX.
153 @param VmPtr - pointer to VM context.
157 EbcDebuggerHookCALLEXStart (
166 The hook in ExecuteCALL, after call EbcLLCALLEX.
168 @param VmPtr - pointer to VM context.
172 EbcDebuggerHookCALLEXEnd (
181 The hook in ExecuteRET, before move IP.
183 @param VmPtr - pointer to VM context.
187 EbcDebuggerHookRETStart (
196 The hook in ExecuteRET, after move IP.
198 @param VmPtr - pointer to VM context.
202 EbcDebuggerHookRETEnd (
211 The hook in ExecuteJMP, before move IP.
213 @param VmPtr - pointer to VM context.
217 EbcDebuggerHookJMPStart (
226 The hook in ExecuteJMP, after move IP.
228 @param VmPtr - pointer to VM context.
232 EbcDebuggerHookJMPEnd (
241 The hook in ExecuteJMP8, before move IP.
243 @param VmPtr - pointer to VM context.
247 EbcDebuggerHookJMP8Start (
256 The hook in ExecuteJMP8, after move IP..
258 @param VmPtr - pointer to VM context.
262 EbcDebuggerHookJMP8End (