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 This program and the accompanying materials
10 are licensed and made available under the terms and conditions of the BSD License
11 which accompanies this distribution. The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #include "EbcDebuggerHook.h"
23 The hook in InitializeEbcDriver.
25 @param Handle - The EbcDebugProtocol handle.
26 @param EbcDebugProtocol - The EbcDebugProtocol interface.
32 IN EFI_DEBUG_SUPPORT_PROTOCOL
*EbcDebugProtocol
40 The hook in UnloadImage for EBC Interpreter.
44 EbcDebuggerHookUnload (
53 The hook in EbcUnloadImage.
54 Currently do nothing here.
56 @param Handle The EbcImage handle.
60 EbcDebuggerHookEbcUnloadImage (
69 The hook in ExecuteEbcImageEntryPoint.
71 @param VmPtr - pointer to VM context.
75 EbcDebuggerHookExecuteEbcImageEntryPoint (
84 The hook in ExecuteEbcImageEntryPoint.
86 @param VmPtr - pointer to VM context.
90 EbcDebuggerHookEbcInterpret (
98 The hook in EbcExecute, before ExecuteFunction.
100 @param VmPtr - pointer to VM context.
104 EbcDebuggerHookExecuteStart (
112 The hook in EbcExecute, after ExecuteFunction.
114 @param VmPtr - pointer to VM context.
118 EbcDebuggerHookExecuteEnd (
127 The hook in ExecuteCALL, before move IP.
129 @param VmPtr - pointer to VM context.
133 EbcDebuggerHookCALLStart (
142 The hook in ExecuteCALL, after move IP.
144 @param VmPtr - pointer to VM context.
148 EbcDebuggerHookCALLEnd (
157 The hook in ExecuteCALL, before call EbcLLCALLEX.
159 @param VmPtr - pointer to VM context.
163 EbcDebuggerHookCALLEXStart (
172 The hook in ExecuteCALL, after call EbcLLCALLEX.
174 @param VmPtr - pointer to VM context.
178 EbcDebuggerHookCALLEXEnd (
187 The hook in ExecuteRET, before move IP.
189 @param VmPtr - pointer to VM context.
193 EbcDebuggerHookRETStart (
202 The hook in ExecuteRET, after move IP.
204 @param VmPtr - pointer to VM context.
208 EbcDebuggerHookRETEnd (
217 The hook in ExecuteJMP, before move IP.
219 @param VmPtr - pointer to VM context.
223 EbcDebuggerHookJMPStart (
232 The hook in ExecuteJMP, after move IP.
234 @param VmPtr - pointer to VM context.
238 EbcDebuggerHookJMPEnd (
247 The hook in ExecuteJMP8, before move IP.
249 @param VmPtr - pointer to VM context.
253 EbcDebuggerHookJMP8Start (
262 The hook in ExecuteJMP8, after move IP..
264 @param VmPtr - pointer to VM context.
268 EbcDebuggerHookJMP8End (