]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcDebugger / Edb.h
index d366ca53632366cea11ba54617f5a69b0deac833..66624221dd8f422fcfd1086d55d9b7f473ff683e 100644 (file)
@@ -1,56 +1,54 @@
-/*++\r
+/** @file\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
+Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\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
 \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
+#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
+/**\r
+  Driver Entry point.\r
+\r
+  @param  ImageHandle  ImageHandle of the loaded driver.\r
+  @param  SystemTable  Pointer to the EFI System Table.\r
+\r
+**/\r
 EFI_STATUS\r
 EfiDebuggerEntrypoint (\r
-  IN EFI_HANDLE                     ImageHandle,\r
-  IN EFI_SYSTEM_TABLE               *SystemTable\r
+  IN EFI_HANDLE        ImageHandle,\r
+  IN EFI_SYSTEM_TABLE  *SystemTable\r
   );\r
 \r
+/**\r
+\r
+  The default Exception Callback for the VM interpreter.\r
+  In this function, we report status code, and print debug information\r
+  about EBC_CONTEXT, then dead loop.\r
+\r
+  @param ExceptionType    Exception type.\r
+  @param SystemContext    EBC system context.\r
+\r
+**/\r
 VOID\r
 EFIAPI\r
 EdbExceptionHandler (\r
-  IN     EFI_EXCEPTION_TYPE   ExceptionType,\r
-  IN OUT EFI_SYSTEM_CONTEXT   SystemContext\r
+  IN     EFI_EXCEPTION_TYPE  ExceptionType,\r
+  IN OUT EFI_SYSTEM_CONTEXT  SystemContext\r
   );\r
 \r
-extern EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate;\r
+extern EFI_DEBUGGER_PRIVATE_DATA  mDebuggerPrivate;\r
 \r
 #include "EdbSupport.h"\r
 #include "EdbCommand.h"\r