]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcDebugger / Edb.h
1 /** @file
2
3 Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
4 SPDX-License-Identifier: BSD-2-Clause-Patent
5
6
7 **/
8
9 #ifndef _EFI_EDB_H_
10 #define _EFI_EDB_H_
11
12 #include "EdbCommon.h"
13
14 #define EBC_DEBUGGER_MAJOR_VERSION 1
15 #define EBC_DEBUGGER_MINOR_VERSION 0
16
17 #define EFI_DEBUG_RETURN 1
18 #define EFI_DEBUG_BREAK 2
19 #define EFI_DEBUG_CONTINUE 3
20
21 /**
22 Driver Entry point.
23
24 @param ImageHandle ImageHandle of the loaded driver.
25 @param SystemTable Pointer to the EFI System Table.
26
27 **/
28 EFI_STATUS
29 EfiDebuggerEntrypoint (
30 IN EFI_HANDLE ImageHandle,
31 IN EFI_SYSTEM_TABLE *SystemTable
32 );
33
34 /**
35
36 The default Exception Callback for the VM interpreter.
37 In this function, we report status code, and print debug information
38 about EBC_CONTEXT, then dead loop.
39
40 @param ExceptionType Exception type.
41 @param SystemContext EBC system context.
42
43 **/
44 VOID
45 EFIAPI
46 EdbExceptionHandler (
47 IN EFI_EXCEPTION_TYPE ExceptionType,
48 IN OUT EFI_SYSTEM_CONTEXT SystemContext
49 );
50
51 extern EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate;
52
53 #include "EdbSupport.h"
54 #include "EdbCommand.h"
55 #include "EdbDisasm.h"
56 #include "EdbDisasmSupport.h"
57 #include "EdbSymbol.h"
58 #include "EdbHook.h"
59
60 #endif