]>
Commit | Line | Data |
---|---|---|
e8a5ac7c | 1 | /** @file\r |
748edcd5 | 2 | \r |
e8a5ac7c DB |
3 | Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials\r | |
748edcd5 PB |
5 | are licensed and made available under the terms and conditions of the BSD License\r |
6 | which accompanies this distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | \r | |
748edcd5 | 12 | \r |
e8a5ac7c | 13 | **/\r |
748edcd5 PB |
14 | \r |
15 | #ifndef _EFI_EDB_H_\r | |
16 | #define _EFI_EDB_H_\r | |
17 | \r | |
748edcd5 PB |
18 | #include "EdbCommon.h"\r |
19 | \r | |
748edcd5 PB |
20 | #define EBC_DEBUGGER_MAJOR_VERSION 1\r |
21 | #define EBC_DEBUGGER_MINOR_VERSION 0\r | |
22 | \r | |
23 | #define EFI_DEBUG_RETURN 1\r | |
24 | #define EFI_DEBUG_BREAK 2\r | |
25 | #define EFI_DEBUG_CONTINUE 3\r | |
26 | \r | |
e8a5ac7c DB |
27 | /**\r |
28 | Driver Entry point.\r | |
29 | \r | |
30 | @param ImageHandle ImageHandle of the loaded driver.\r | |
31 | @param SystemTable Pointer to the EFI System Table.\r | |
32 | \r | |
33 | **/\r | |
748edcd5 PB |
34 | EFI_STATUS\r |
35 | EfiDebuggerEntrypoint (\r | |
36 | IN EFI_HANDLE ImageHandle,\r | |
37 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
38 | );\r | |
39 | \r | |
e8a5ac7c DB |
40 | /**\r |
41 | \r | |
42 | The default Exception Callback for the VM interpreter.\r | |
43 | In this function, we report status code, and print debug information\r | |
44 | about EBC_CONTEXT, then dead loop.\r | |
45 | \r | |
46 | @param ExceptionType Exception type.\r | |
47 | @param SystemContext EBC system context.\r | |
48 | \r | |
49 | **/\r | |
748edcd5 PB |
50 | VOID\r |
51 | EFIAPI\r | |
52 | EdbExceptionHandler (\r | |
53 | IN EFI_EXCEPTION_TYPE ExceptionType,\r | |
54 | IN OUT EFI_SYSTEM_CONTEXT SystemContext\r | |
55 | );\r | |
56 | \r | |
57 | extern EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate;\r | |
58 | \r | |
59 | #include "EdbSupport.h"\r | |
60 | #include "EdbCommand.h"\r | |
61 | #include "EdbDisasm.h"\r | |
62 | #include "EdbDisasmSupport.h"\r | |
63 | #include "EdbSymbol.h"\r | |
64 | #include "EdbHook.h"\r | |
65 | \r | |
66 | #endif\r |