]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.h
MdeModulePkg/EbcDxe: add EBC Debugger
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcDebugger / Edb.h
1 /*++
2
3 Copyright (c) 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 Edb.h
15
16 Abstract:
17
18
19 --*/
20
21 #ifndef _EFI_EDB_H_
22 #define _EFI_EDB_H_
23
24 #include <Uefi.h>
25 #include "EdbCommon.h"
26
27 #include "EbcInt.h"
28 #include "EbcExecute.h"
29
30 #define EBC_DEBUGGER_MAJOR_VERSION 1
31 #define EBC_DEBUGGER_MINOR_VERSION 0
32
33 #define EFI_DEBUG_RETURN 1
34 #define EFI_DEBUG_BREAK 2
35 #define EFI_DEBUG_CONTINUE 3
36
37 //
38 // Function
39 //
40 EFI_STATUS
41 EfiDebuggerEntrypoint (
42 IN EFI_HANDLE ImageHandle,
43 IN EFI_SYSTEM_TABLE *SystemTable
44 );
45
46 VOID
47 EFIAPI
48 EdbExceptionHandler (
49 IN EFI_EXCEPTION_TYPE ExceptionType,
50 IN OUT EFI_SYSTEM_CONTEXT SystemContext
51 );
52
53 extern EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate;
54
55 #include "EdbSupport.h"
56 #include "EdbCommand.h"
57 #include "EdbDisasm.h"
58 #include "EdbDisasmSupport.h"
59 #include "EdbSymbol.h"
60 #include "EdbHook.h"
61
62 #endif