]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.h
MdeModulePkg/EbcDxe: add EBC Debugger
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcDebugger / Edb.h
diff --git a/MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.h b/MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.h
new file mode 100644 (file)
index 0000000..d366ca5
--- /dev/null
@@ -0,0 +1,62 @@
+/*++\r
+\r
+Copyright (c) 2007, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+Module Name:\r
+\r
+  Edb.h\r
+\r
+Abstract:\r
+\r
+\r
+--*/\r
+\r
+#ifndef _EFI_EDB_H_\r
+#define _EFI_EDB_H_\r
+\r
+#include <Uefi.h>\r
+#include "EdbCommon.h"\r
+\r
+#include "EbcInt.h"\r
+#include "EbcExecute.h"\r
+\r
+#define EBC_DEBUGGER_MAJOR_VERSION   1\r
+#define EBC_DEBUGGER_MINOR_VERSION   0\r
+\r
+#define EFI_DEBUG_RETURN    1\r
+#define EFI_DEBUG_BREAK     2\r
+#define EFI_DEBUG_CONTINUE  3\r
+\r
+//\r
+// Function\r
+//\r
+EFI_STATUS\r
+EfiDebuggerEntrypoint (\r
+  IN EFI_HANDLE                     ImageHandle,\r
+  IN EFI_SYSTEM_TABLE               *SystemTable\r
+  );\r
+\r
+VOID\r
+EFIAPI\r
+EdbExceptionHandler (\r
+  IN     EFI_EXCEPTION_TYPE   ExceptionType,\r
+  IN OUT EFI_SYSTEM_CONTEXT   SystemContext\r
+  );\r
+\r
+extern EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate;\r
+\r
+#include "EdbSupport.h"\r
+#include "EdbCommand.h"\r
+#include "EdbDisasm.h"\r
+#include "EdbDisasmSupport.h"\r
+#include "EdbSymbol.h"\r
+#include "EdbHook.h"\r
+\r
+#endif\r