2 Prototypes for the EBC Debugger hooks.
4 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _EFI_EBC_DEBUGGER_HOOK_H_
16 #define _EFI_EBC_DEBUGGER_HOOK_H_
20 #include <Protocol/DebugSupport.h>
21 #include <Protocol/EbcVmTest.h>
24 The VM interpreter calls this function when an exception is detected.
26 @param ExceptionType Specifies the processor exception detected.
27 @param ExceptionFlags Specifies the exception context.
28 @param VmPtr Pointer to a VM context for passing info to the
31 @retval EFI_SUCCESS This function completed successfully.
35 EbcDebugSignalException (
36 IN EFI_EXCEPTION_TYPE ExceptionType
,
37 IN EXCEPTION_FLAGS ExceptionFlags
,
47 IN EFI_DEBUG_SUPPORT_PROTOCOL
*EbcDebugProtocol
51 EbcDebuggerHookUnload (
56 EbcDebuggerHookEbcUnloadImage (
61 // Hooks in EbcSupport.c
64 EbcDebuggerHookExecuteEbcImageEntryPoint (
69 EbcDebuggerHookEbcInterpret (
74 // Hooks in EbcExecute.c
77 EbcDebuggerHookExecuteStart (
82 EbcDebuggerHookExecuteEnd (
87 EbcDebuggerHookCALLStart (
92 EbcDebuggerHookCALLEnd (
97 EbcDebuggerHookCALLEXStart (
102 EbcDebuggerHookCALLEXEnd (
107 EbcDebuggerHookRETStart (
112 EbcDebuggerHookRETEnd (
117 EbcDebuggerHookJMPStart (
122 EbcDebuggerHookJMPEnd (
127 EbcDebuggerHookJMP8Start (
132 EbcDebuggerHookJMP8End (