]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.h
IntelSiliconPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcDebugger / Edb.h
CommitLineData
e8a5ac7c 1/** @file\r
748edcd5 2\r
e8a5ac7c
DB
3Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials\r
748edcd5
PB
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT 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
34EFI_STATUS\r
35EfiDebuggerEntrypoint (\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
50VOID\r
51EFIAPI\r
52EdbExceptionHandler (\r
53 IN EFI_EXCEPTION_TYPE ExceptionType,\r
54 IN OUT EFI_SYSTEM_CONTEXT SystemContext\r
55 );\r
56\r
57extern 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