]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/EbcDxe/EbcExecute.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcExecute.h
index b7489514b919c51c9fe7d916377b3d434116d765..32b8670c5b2a45d8ed1f9e2a0c03e358792ed26c 100644 (file)
@@ -4,13 +4,7 @@
   prototypes for VM functions.\r
 \r
 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
-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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -26,8 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // Debug macro\r
 //\r
-#define EBCMSG(s) gST->ConOut->OutputString (gST->ConOut, s)\r
-\r
+#define EBCMSG(s)  gST->ConOut->OutputString (gST->ConOut, s)\r
 \r
 /**\r
   Execute an EBC image from an entry point or from a published protocol.\r
@@ -40,11 +33,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 **/\r
 EFI_STATUS\r
 EbcExecute (\r
-  IN VM_CONTEXT *VmPtr\r
+  IN VM_CONTEXT  *VmPtr\r
   );\r
 \r
-\r
-\r
 /**\r
   Returns the version of the EBC virtual machine.\r
 \r
@@ -81,9 +72,9 @@ GetVmVersion (
 **/\r
 EFI_STATUS\r
 VmWriteMemN (\r
-  IN VM_CONTEXT   *VmPtr,\r
-  IN UINTN        Addr,\r
-  IN UINTN        Data\r
+  IN VM_CONTEXT  *VmPtr,\r
+  IN UINTN       Addr,\r
+  IN UINTN       Data\r
   );\r
 \r
 /**\r
@@ -111,9 +102,9 @@ VmWriteMemN (
 **/\r
 EFI_STATUS\r
 VmWriteMem64 (\r
-  IN VM_CONTEXT   *VmPtr,\r
-  IN UINTN        Addr,\r
-  IN UINT64       Data\r
+  IN VM_CONTEXT  *VmPtr,\r
+  IN UINTN       Addr,\r
+  IN UINT64      Data\r
   );\r
 \r
 /**\r
@@ -133,9 +124,9 @@ VmWriteMem64 (
 EFI_STATUS\r
 EFIAPI\r
 EbcExecuteInstructions (\r
-  IN EFI_EBC_VM_TEST_PROTOCOL *This,\r
-  IN VM_CONTEXT               *VmPtr,\r
-  IN OUT UINTN                *InstructionCount\r
+  IN EFI_EBC_VM_TEST_PROTOCOL  *This,\r
+  IN VM_CONTEXT                *VmPtr,\r
+  IN OUT UINTN                 *InstructionCount\r
   );\r
 \r
 #endif // ifndef _EBC_EXECUTE_H_\r