]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/EbcSimpleDebugger.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / EbcSimpleDebugger.h
index 43b55b48eb2c513e320f106465ecafca4dfb73ba..503c4aed18b4223a6e06fdf7066a00454603d1f3 100644 (file)
@@ -1,16 +1,9 @@
 /** @file\r
   EBC Simple Debugger protocol for debug EBC code.\r
 \r
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
 \r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions\r
-of the BSD License which accompanies this distribution.  The\r
-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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -43,7 +36,7 @@ typedef struct _EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL EFI_EBC_SIMPLE_DEBUGGER_PROTOCO
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EBC_DEBUGGER_SIGNAL_EXCEPTION) (\r
+(EFIAPI *EBC_DEBUGGER_SIGNAL_EXCEPTION)(\r
   IN EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL           *This,\r
   IN VM_CONTEXT                                 *VmPtr,\r
   IN EFI_EXCEPTION_TYPE                         ExceptionType\r
@@ -61,7 +54,7 @@ EFI_STATUS
 **/\r
 typedef\r
 VOID\r
-(EFIAPI *EBC_DEBUGGER_DEBUG) (\r
+(EFIAPI *EBC_DEBUGGER_DEBUG)(\r
   IN EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL           *This,\r
   IN VM_CONTEXT                                 *VmPtr\r
   );\r
@@ -71,7 +64,7 @@ VOID
 \r
   @param[in] This           A pointer to the EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL structure.\r
   @param[in] VmPtr          A pointer to a VM context.\r
-  @param[in] DasmString     Dump string buffer. \r
+  @param[in] DasmString     Dump string buffer.\r
   @param[in] DasmStringSize Dump string size.\r
 \r
   @retval EFI_UNSUPPORTED       No support for it.\r
@@ -80,7 +73,7 @@ VOID
 **/\r
 typedef\r
 UINT32\r
-(EFIAPI *EBC_DEBUGGER_DASM) (\r
+(EFIAPI *EBC_DEBUGGER_DASM)(\r
   IN EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL           *This,\r
   IN VM_CONTEXT                                 *VmPtr,\r
   IN UINT16                                     *DasmString OPTIONAL,\r
@@ -103,7 +96,7 @@ UINT32
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EBC_DEBUGGER_CONFIGURE) (\r
+(EFIAPI *EBC_DEBUGGER_CONFIGURE)(\r
   IN EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL           *This,\r
   IN UINT32                                     ConfigId,\r
   IN UINTN                                      ConfigValue\r
@@ -113,12 +106,12 @@ EFI_STATUS
 // Prototype for the actual EBC debug support protocol interface\r
 //\r
 struct _EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL {\r
-  EBC_DEBUGGER_DEBUG            Debugger;\r
-  EBC_DEBUGGER_SIGNAL_EXCEPTION SignalException;\r
-  EBC_DEBUGGER_DASM             Dasm;\r
-  EBC_DEBUGGER_CONFIGURE        Configure;\r
+  EBC_DEBUGGER_DEBUG               Debugger;\r
+  EBC_DEBUGGER_SIGNAL_EXCEPTION    SignalException;\r
+  EBC_DEBUGGER_DASM                Dasm;\r
+  EBC_DEBUGGER_CONFIGURE           Configure;\r
 };\r
 \r
-extern EFI_GUID gEfiEbcSimpleDebuggerProtocolGuid;\r
+extern EFI_GUID  gEfiEbcSimpleDebuggerProtocolGuid;\r
 \r
 #endif\r