X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FEbcDxe%2FEbcExecute.h;h=88bf9d5843a81575375cb31e5db519eacdba9594;hp=13eea0c9dc24876fc99504d6ba4b1bc3c3556d39;hb=4cda7726e5fd30aaf3e05c80207ae1b264bfa123;hpb=8e3bc754c50ba72996de1bf8c29b34fa7b36e56d diff --git a/MdeModulePkg/Universal/EbcDxe/EbcExecute.h b/MdeModulePkg/Universal/EbcDxe/EbcExecute.h index 13eea0c9dc..88bf9d5843 100644 --- a/MdeModulePkg/Universal/EbcDxe/EbcExecute.h +++ b/MdeModulePkg/Universal/EbcDxe/EbcExecute.h @@ -3,7 +3,7 @@ be of use to a disassembler for the most part. Also provides function prototypes for VM functions. -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2008, Intel Corporation.
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -239,26 +239,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. EFI_STATUS EbcExecute ( IN VM_CONTEXT *VmPtr - ) -; + ); /** Returns the version of the EBC virtual machine. - + @return The 64-bit version of EBC virtual machine. **/ UINT64 GetVmVersion ( VOID - ) -; + ); /** Writes UINTN data to memory address. - + This routine is called by the EBC data movement instructions that write to memory. Since these writes may be to the stack, which looks like (high address on top) this, @@ -268,14 +266,14 @@ GetVmVersion ( [EBC stack] we need to detect all attempts to write to the EBC entry point argument - stack area and adjust the address (which will initially point into the + stack area and adjust the address (which will initially point into the VM stack) to point into the EBC entry point arguments. @param VmPtr A pointer to a VM context. @param Addr Adddress to write to. @param Data Value to write to Addr. - @retval EFI_SUCCESS The instruction is executed successfully. + @retval EFI_SUCCESS The instruction is executed successfully. @retval Other Some error occurs when writing data to the address. **/ @@ -284,12 +282,11 @@ VmWriteMemN ( IN VM_CONTEXT *VmPtr, IN UINTN Addr, IN UINTN Data - ) -; + ); /** Writes 64-bit data to memory address. - + This routine is called by the EBC data movement instructions that write to memory. Since these writes may be to the stack, which looks like (high address on top) this, @@ -299,24 +296,23 @@ VmWriteMemN ( [EBC stack] we need to detect all attempts to write to the EBC entry point argument - stack area and adjust the address (which will initially point into the + stack area and adjust the address (which will initially point into the VM stack) to point into the EBC entry point arguments. @param VmPtr A pointer to a VM context. @param Addr Adddress to write to. @param Data Value to write to Addr. - @retval EFI_SUCCESS The instruction is executed successfully. + @retval EFI_SUCCESS The instruction is executed successfully. @retval Other Some error occurs when writing data to the address. **/ EFI_STATUS VmWriteMem64 ( - IN VM_CONTEXT *VmPtr, - UINTN Addr, - IN UINT64 Data - ) -; + IN VM_CONTEXT *VmPtr, + IN UINTN Addr, + IN UINT64 Data + ); // // Define a protocol for an EBC VM test interface. @@ -385,7 +381,6 @@ EbcExecuteInstructions ( IN EFI_EBC_VM_TEST_PROTOCOL *This, IN VM_CONTEXT *VmPtr, IN OUT UINTN *InstructionCount - ) -; + ); #endif // ifndef _EBC_EXECUTE_H_