]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update to fix minor coding style issues.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 21 May 2008 04:03:40 +0000 (04:03 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 21 May 2008 04:03:40 +0000 (04:03 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5257 6f19259b-4bc3-4df7-8a09-765794883524

20 files changed:
MdeModulePkg/Core/DxeIplPeim/DxeIpl.h
MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.asm
MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c
MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.h
MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
MdeModulePkg/Universal/EbcDxe/EbcExecute.c
MdeModulePkg/Universal/EbcDxe/EbcExecute.h
MdeModulePkg/Universal/EbcDxe/EbcInt.c
MdeModulePkg/Universal/EbcDxe/EbcInt.h
MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.S
MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm
MdeModulePkg/Universal/EbcDxe/Ia32/EbcSupport.c
MdeModulePkg/Universal/EbcDxe/Ipf/EbcLowLevel.s
MdeModulePkg/Universal/EbcDxe/Ipf/EbcSupport.c
MdeModulePkg/Universal/EbcDxe/Ipf/EbcSupport.h
MdeModulePkg/Universal/EbcDxe/x64/EbcLowLevel.S
MdeModulePkg/Universal/EbcDxe/x64/EbcLowLevel.asm
MdeModulePkg/Universal/EbcDxe/x64/EbcSupport.c

index 3eac29da295fc13c10fa06b586516541557cfad8..57233e3df502db445c1037a95f70075e0d9543ba 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
   Master header file for DxeIpl PEIM. All source files in this module should\r
-  include this file for common defininitions. \r
+  include this file for common defininitions.\r
 \r
 Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
 All rights reserved. This program and the accompanying materials\r
@@ -76,8 +76,7 @@ PeiLoadFile (
   OUT EFI_PHYSICAL_ADDRESS                      *ImageAddress,\r
   OUT UINT64                                    *ImageSize,\r
   OUT EFI_PHYSICAL_ADDRESS                      *EntryPoint\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -93,8 +92,7 @@ PeiLoadFile (
 EFI_STATUS\r
 DxeIplFindDxeCore (\r
   OUT EFI_PEI_FILE_HANDLE   *FileHandle\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -111,8 +109,7 @@ DxeIplFindDxeCore (
 EFI_STATUS\r
 GetImageReadFunction (\r
   IN      PE_COFF_LOADER_IMAGE_CONTEXT  *ImageContext\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -190,8 +187,7 @@ EFIAPI
 PeimInitializeDxeIpl (\r
   IN EFI_PEI_FILE_HANDLE       FfsHandle,\r
   IN EFI_PEI_SERVICES          **PeiServices\r
-  )\r
-;\r
+  );\r
 \r
 \r
 #endif\r
index d7575ca4a71daec78ac2ee8777f8fa60e921e252..914f4575fdc642753e18824465bb3c510f630165 100644 (file)
@@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
                                 processed. OutputBuffer OutputBuffer is\r
                                 allocated from PEI permanent memory and contains\r
                                 the new section stream.\r
-  @param CompressionSection     A pointer to the input buffer, which contains\r
+  @param InputSection           A pointer to the input buffer, which contains\r
                                 the input section to be processed.\r
   @param OutputBuffer           A pointer to a caller-allocated buffer, whose\r
                                 size is specified by the contents of OutputSize.\r
@@ -75,7 +75,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 EFI_STATUS\r
 CustomGuidedSectionExtract (\r
   IN CONST  EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This,\r
-  IN CONST  VOID                                  *CompressionSection,\r
+  IN CONST  VOID                                  *InputSection,\r
   OUT       VOID                                  **OutputBuffer,\r
   OUT       UINTN                                 *OutputSize,\r
   OUT       UINT32                                *AuthenticationStatus\r
@@ -109,7 +109,7 @@ Decompress (
   IN CONST  EFI_COMPRESSION_SECTION *CompressionSection,\r
   OUT       VOID                    **OutputBuffer,\r
   OUT       UINTN                   *OutputSize\r
-);\r
+ );\r
 \r
 \r
 BOOLEAN gInMemory = FALSE;\r
index 1a3cf8751bcda501554a5e2bd1b7e2b90c9d00b7..ee02a4104b09d6b40b0eeea76d77d5b71b9695cb 100644 (file)
@@ -1,15 +1,16 @@
-#/**@file\r
-# IDT vector entry.\r
-#\r
-# Copyright (c) 2007 - 2008, 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
+#/** @file\r
+#  \r
+#    IDT vector entry.\r
+#  \r
+#  Copyright (c) 2007 - 2008, Intel Corporation. <BR>\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
 #**/\r
 \r
     .text\r
index 4b6ab9aa113635bc79aff16b9c38a43f74c8e2c7..f7c5844aa5f1cfdd7c97aa31e75a4e2c1cacbd43 100644 (file)
@@ -1,4 +1,5 @@
 ;/** @file\r
+;  \r
 ;    IDT vector entry.\r
 ;  \r
 ;  Copyright (c) 2007 - 2008, Intel Corporation. <BR>\r
index 37776099baec441f1ab4d0ff4a5b0e119d4cc144..bca3180aada568c6b6908f7c571032755a498dfe 100644 (file)
@@ -32,7 +32,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 EFI_STATUS\r
-EFIAPI\r
 PeiImageRead (\r
   IN     VOID    *FileHandle,\r
   IN     UINTN   FileOffset,\r
index 5bb3e43786243ee3f45c59b62074f46b82ca2b11..be9a7391b61516f33b123b964cf519b8324d749a 100644 (file)
@@ -116,8 +116,7 @@ typedef union {
 UINTN\r
 CreateIdentityMappingPageTables (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
index c1522d51dae45d8ef5eff6066292e94832bff0ed..c1a02a10f0a6b409e05bcf3a370b213920746a20 100644 (file)
@@ -1,18 +1,19 @@
 #/** @file\r
-# Component description file for Ebc module.\r
-#\r
-# This module for the EBC virtual machine implementation produces \r
-#  EBC and EBC debug support protocols.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
-#\r
+#  \r
+#    Component description file for Ebc module.\r
+#  \r
+#   This module for the EBC virtual machine implementation produces \r
+#    EBC and EBC debug support protocols.\r
+#  \r
+#  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
+#  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
-#\r
+#  \r
 #**/\r
 \r
 [Defines]\r
index e4240c9b83a83b91abdb8da2ed2ccc10c208feb7..b819c5f024360fa967a580ccdbd525f39fb85c0a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Contains code that implements the virtual machine.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
@@ -64,7 +64,6 @@ UINT64
   @return The decoded offset.\r
 \r
 **/\r
-STATIC\r
 INT16\r
 VmReadIndex16 (\r
   IN VM_CONTEXT     *VmPtr,\r
@@ -81,7 +80,6 @@ VmReadIndex16 (
   @return Converted index per EBC VM specification.\r
 \r
 **/\r
-STATIC\r
 INT32\r
 VmReadIndex32 (\r
   IN VM_CONTEXT     *VmPtr,\r
@@ -98,7 +96,6 @@ VmReadIndex32 (
   @return Converted index per EBC VM specification\r
 \r
 **/\r
-STATIC\r
 INT64\r
 VmReadIndex64 (\r
   IN VM_CONTEXT     *VmPtr,\r
@@ -114,7 +111,6 @@ VmReadIndex64 (
   @return The 8-bit value from the memory adress.\r
 \r
 **/\r
-STATIC\r
 UINT8\r
 VmReadMem8 (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -130,7 +126,6 @@ VmReadMem8 (
   @return The 16-bit value from the memory adress.\r
 \r
 **/\r
-STATIC\r
 UINT16\r
 VmReadMem16 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -146,7 +141,6 @@ VmReadMem16 (
   @return The 32-bit value from the memory adress.\r
 \r
 **/\r
-STATIC\r
 UINT32\r
 VmReadMem32 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -162,7 +156,6 @@ VmReadMem32 (
   @return The 64-bit value from the memory adress.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 VmReadMem64 (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -178,7 +171,6 @@ VmReadMem64 (
   @return The natural value at address Addr.\r
 \r
 **/\r
-STATIC\r
 UINTN\r
 VmReadMemN (\r
   IN VM_CONTEXT    *VmPtr,\r
@@ -208,7 +200,6 @@ VmReadMemN (
   @retval Other             Some error occurs when writing data to the address.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 VmWriteMem8 (\r
   IN VM_CONTEXT    *VmPtr,\r
@@ -239,7 +230,6 @@ VmWriteMem8 (
   @retval Other             Some error occurs when writing data to the address.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 VmWriteMem16 (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -270,7 +260,6 @@ VmWriteMem16 (
   @retval Other             Some error occurs when writing data to the address.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 VmWriteMem32 (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -290,7 +279,6 @@ VmWriteMem32 (
   @return The raw unsigned 16-bit value from the code stream.\r
 \r
 **/\r
-STATIC\r
 UINT16\r
 VmReadCode16 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -309,7 +297,6 @@ VmReadCode16 (
   @return The raw unsigned 32-bit value from the code stream.\r
 \r
 **/\r
-STATIC\r
 UINT32\r
 VmReadCode32 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -328,7 +315,6 @@ VmReadCode32 (
   @return The raw unsigned 64-bit value from the code stream.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 VmReadCode64 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -349,7 +335,6 @@ VmReadCode64 (
   @return Signed data of the requested size from the specified address.\r
 \r
 **/\r
-STATIC\r
 INT8\r
 VmReadImmed8 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -370,7 +355,6 @@ VmReadImmed8 (
   @return Signed data of the requested size from the specified address.\r
 \r
 **/\r
-STATIC\r
 INT16\r
 VmReadImmed16 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -391,7 +375,6 @@ VmReadImmed16 (
   @return Signed data of the requested size from the specified address.\r
 \r
 **/\r
-STATIC\r
 INT32\r
 VmReadImmed32 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -412,7 +395,6 @@ VmReadImmed32 (
   @return Signed data of the requested size from the specified address.\r
 \r
 **/\r
-STATIC\r
 INT64\r
 VmReadImmed64 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -438,7 +420,6 @@ VmReadImmed64 (
           adjust for the stack gap and return the modified address.\r
 \r
 **/\r
-STATIC\r
 UINTN\r
 ConvertStackAddr (\r
   IN VM_CONTEXT    *VmPtr,\r
@@ -463,7 +444,6 @@ ConvertStackAddr (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteDataManip (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -481,7 +461,6 @@ ExecuteDataManip (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteBREAK (\r
   IN VM_CONTEXT *VmPtr\r
@@ -512,7 +491,6 @@ ExecuteBREAK (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteJMP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -529,7 +507,6 @@ ExecuteJMP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteJMP8 (\r
   IN VM_CONTEXT *VmPtr\r
@@ -551,7 +528,6 @@ ExecuteJMP8 (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteCALL (\r
   IN VM_CONTEXT *VmPtr\r
@@ -568,7 +544,6 @@ ExecuteCALL (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteRET (\r
   IN VM_CONTEXT *VmPtr\r
@@ -586,7 +561,6 @@ ExecuteRET (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteCMP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -604,7 +578,6 @@ ExecuteCMP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteCMPI (\r
   IN VM_CONTEXT *VmPtr\r
@@ -631,7 +604,6 @@ ExecuteCMPI (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVxx (\r
   IN VM_CONTEXT *VmPtr\r
@@ -658,7 +630,6 @@ ExecuteMOVxx (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVI (\r
   IN VM_CONTEXT *VmPtr\r
@@ -678,7 +649,6 @@ ExecuteMOVI (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVIn (\r
   IN VM_CONTEXT *VmPtr\r
@@ -698,7 +668,6 @@ ExecuteMOVIn (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVREL (\r
   IN VM_CONTEXT *VmPtr\r
@@ -715,7 +684,6 @@ ExecuteMOVREL (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecutePUSHn (\r
   IN VM_CONTEXT *VmPtr\r
@@ -732,7 +700,6 @@ ExecutePUSHn (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecutePUSH (\r
   IN VM_CONTEXT *VmPtr\r
@@ -749,7 +716,6 @@ ExecutePUSH (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecutePOPn (\r
   IN VM_CONTEXT *VmPtr\r
@@ -766,7 +732,6 @@ ExecutePOPn (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecutePOP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -789,7 +754,6 @@ ExecutePOP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteSignedDataManip (\r
   IN VM_CONTEXT   *VmPtr\r
@@ -812,7 +776,6 @@ ExecuteSignedDataManip (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteUnsignedDataManip (\r
   IN VM_CONTEXT   *VmPtr\r
@@ -830,7 +793,6 @@ ExecuteUnsignedDataManip (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteLOADSP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -848,7 +810,6 @@ ExecuteLOADSP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteSTORESP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -873,7 +834,6 @@ ExecuteSTORESP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVsnd (\r
   IN VM_CONTEXT *VmPtr\r
@@ -898,7 +858,6 @@ ExecuteMOVsnd (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVsnw (\r
   IN VM_CONTEXT *VmPtr\r
@@ -920,7 +879,6 @@ ExecuteMOVsnw (
   @return ~Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteNOT (\r
   IN VM_CONTEXT     *VmPtr,\r
@@ -941,7 +899,6 @@ ExecuteNOT (
   @return Op2 * -1\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteNEG (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -962,7 +919,6 @@ ExecuteNEG (
   @return Op1 + Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteADD (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -983,7 +939,6 @@ ExecuteADD (
   @return Op1 - Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteSUB (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1004,7 +959,6 @@ ExecuteSUB (
   @return Op1 * Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteMUL (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1025,7 +979,6 @@ ExecuteMUL (
   @return (unsigned)Op1 * (unsigned)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteMULU (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1046,7 +999,6 @@ ExecuteMULU (
   @return Op1 / Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteDIV (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1067,7 +1019,6 @@ ExecuteDIV (
   @return (unsigned)Op1 / (unsigned)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteDIVU (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1088,7 +1039,6 @@ ExecuteDIVU (
   @return Op1 MODULUS Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteMOD (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1109,7 +1059,6 @@ ExecuteMOD (
   @return Op1 UNSIGNED_MODULUS Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteMODU (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1130,7 +1079,6 @@ ExecuteMODU (
   @return Op1 AND Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteAND (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1151,7 +1099,6 @@ ExecuteAND (
   @return Op1 OR Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteOR (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1172,7 +1119,6 @@ ExecuteOR (
   @return Op1 XOR Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteXOR (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1193,7 +1139,6 @@ ExecuteXOR (
   @return Op1 << Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteSHL (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1214,7 +1159,6 @@ ExecuteSHL (
   @return Op1 >> Op2  (unsigned operands)\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteSHR (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1235,7 +1179,6 @@ ExecuteSHR (
   @return Op1 >> Op2 (signed)\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteASHR (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1256,7 +1199,6 @@ ExecuteASHR (
   @return (INT64)(INT8)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEXTNDB (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1277,7 +1219,6 @@ ExecuteEXTNDB (
   @return (INT64)(INT16)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEXTNDW (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1298,7 +1239,6 @@ ExecuteEXTNDW (
   @return (INT64)(INT32)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEXTNDD (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -1613,7 +1553,6 @@ Done:
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVxx (\r
   IN VM_CONTEXT *VmPtr\r
@@ -1883,7 +1822,6 @@ ExecuteMOVxx (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteBREAK (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2009,7 +1947,6 @@ ExecuteBREAK (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteJMP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2172,7 +2109,6 @@ ExecuteJMP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteJMP8 (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2233,7 +2169,6 @@ ExecuteJMP8 (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVI (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2352,7 +2287,6 @@ ExecuteMOVI (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVIn (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2455,7 +2389,6 @@ ExecuteMOVIn (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVREL (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2562,7 +2495,6 @@ ExecuteMOVREL (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVsnw (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2656,7 +2588,6 @@ ExecuteMOVsnw (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteMOVsnd (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2742,7 +2673,6 @@ ExecuteMOVsnd (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecutePUSHn (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2802,7 +2732,6 @@ ExecutePUSHn (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecutePUSH (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2879,7 +2808,6 @@ ExecutePUSH (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecutePOPn (\r
   IN VM_CONTEXT *VmPtr\r
@@ -2939,7 +2867,6 @@ ExecutePOPn (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecutePOP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -3024,7 +2951,6 @@ ExecutePOP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteCALL (\r
   IN VM_CONTEXT *VmPtr\r
@@ -3158,7 +3084,6 @@ ExecuteCALL (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteRET (\r
   IN VM_CONTEXT *VmPtr\r
@@ -3207,7 +3132,6 @@ ExecuteRET (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteCMP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -3369,7 +3293,6 @@ ExecuteCMP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteCMPI (\r
   IN VM_CONTEXT *VmPtr\r
@@ -3550,7 +3473,6 @@ ExecuteCMPI (
   @return ~Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteNOT (\r
   IN VM_CONTEXT     *VmPtr,\r
@@ -3575,7 +3497,6 @@ ExecuteNOT (
   @return Op2 * -1\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteNEG (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3600,7 +3521,6 @@ ExecuteNEG (
   @return Op1 + Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteADD (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3625,7 +3545,6 @@ ExecuteADD (
   @return Op1 - Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteSUB (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3654,7 +3573,6 @@ ExecuteSUB (
   @return Op1 * Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteMUL (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3683,7 +3601,6 @@ ExecuteMUL (
   @return (unsigned)Op1 * (unsigned)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteMULU (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3712,7 +3629,6 @@ ExecuteMULU (
   @return Op1 / Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteDIV (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3756,7 +3672,6 @@ ExecuteDIV (
   @return (unsigned)Op1 / (unsigned)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteDIVU (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3802,7 +3717,6 @@ ExecuteDIVU (
   @return Op1 MODULUS Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteMOD (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3842,7 +3756,6 @@ ExecuteMOD (
   @return Op1 UNSIGNED_MODULUS Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteMODU (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3882,7 +3795,6 @@ ExecuteMODU (
   @return Op1 AND Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteAND (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3907,7 +3819,6 @@ ExecuteAND (
   @return Op1 OR Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteOR (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3932,7 +3843,6 @@ ExecuteOR (
   @return Op1 XOR Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteXOR (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3957,7 +3867,6 @@ ExecuteXOR (
   @return Op1 << Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteSHL (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -3986,7 +3895,6 @@ ExecuteSHL (
   @return Op1 >> Op2  (unsigned operands)\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteSHR (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -4015,7 +3923,6 @@ ExecuteSHR (
   @return Op1 >> Op2 (signed)\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteASHR (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -4044,7 +3951,6 @@ ExecuteASHR (
   @return (INT64)(INT8)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEXTNDB (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -4078,7 +3984,6 @@ ExecuteEXTNDB (
   @return (INT64)(INT16)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEXTNDW (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -4119,7 +4024,6 @@ ExecuteEXTNDW (
   @return (INT64)(INT32)Op2\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEXTNDD (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -4157,7 +4061,6 @@ ExecuteEXTNDD (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteSignedDataManip (\r
   IN VM_CONTEXT   *VmPtr\r
@@ -4188,7 +4091,6 @@ ExecuteSignedDataManip (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteUnsignedDataManip (\r
   IN VM_CONTEXT   *VmPtr\r
@@ -4220,7 +4122,6 @@ ExecuteUnsignedDataManip (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteDataManip (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -4370,7 +4271,6 @@ ExecuteDataManip (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteLOADSP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -4425,7 +4325,6 @@ ExecuteLOADSP (
   @retval EFI_SUCCESS       The instruction is executed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 ExecuteSTORESP (\r
   IN VM_CONTEXT *VmPtr\r
@@ -4497,7 +4396,6 @@ ExecuteSTORESP (
   @return The decoded offset.\r
 \r
 **/\r
-STATIC\r
 INT16\r
 VmReadIndex16 (\r
   IN VM_CONTEXT     *VmPtr,\r
@@ -4569,7 +4467,6 @@ VmReadIndex16 (
   @return Converted index per EBC VM specification.\r
 \r
 **/\r
-STATIC\r
 INT32\r
 VmReadIndex32 (\r
   IN VM_CONTEXT     *VmPtr,\r
@@ -4633,7 +4530,6 @@ VmReadIndex32 (
   @return Converted index per EBC VM specification\r
 \r
 **/\r
-STATIC\r
 INT64\r
 VmReadIndex64 (\r
   IN VM_CONTEXT     *VmPtr,\r
@@ -4710,7 +4606,6 @@ VmReadIndex64 (
   @retval Other             Some error occurs when writing data to the address.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 VmWriteMem8 (\r
   IN VM_CONTEXT    *VmPtr,\r
@@ -4749,7 +4644,6 @@ VmWriteMem8 (
   @retval Other             Some error occurs when writing data to the address.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 VmWriteMem16 (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -4813,7 +4707,6 @@ VmWriteMem16 (
   @retval Other             Some error occurs when writing data to the address.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 VmWriteMem32 (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -4991,7 +4884,6 @@ VmWriteMemN (
   @return Signed data of the requested size from the specified address.\r
 \r
 **/\r
-STATIC\r
 INT8\r
 VmReadImmed8 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5018,7 +4910,6 @@ VmReadImmed8 (
   @return Signed data of the requested size from the specified address.\r
 \r
 **/\r
-STATIC\r
 INT16\r
 VmReadImmed16 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5061,7 +4952,6 @@ VmReadImmed16 (
   @return Signed data of the requested size from the specified address.\r
 \r
 **/\r
-STATIC\r
 INT32\r
 VmReadImmed32 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5099,7 +4989,6 @@ VmReadImmed32 (
   @return Signed data of the requested size from the specified address.\r
 \r
 **/\r
-STATIC\r
 INT64\r
 VmReadImmed64 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5141,7 +5030,6 @@ VmReadImmed64 (
   @return The raw unsigned 16-bit value from the code stream.\r
 \r
 **/\r
-STATIC\r
 UINT16\r
 VmReadCode16 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5182,7 +5070,6 @@ VmReadCode16 (
   @return The raw unsigned 32-bit value from the code stream.\r
 \r
 **/\r
-STATIC\r
 UINT32\r
 VmReadCode32 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5217,7 +5104,6 @@ VmReadCode32 (
   @return The raw unsigned 64-bit value from the code stream.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 VmReadCode64 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5256,7 +5142,6 @@ VmReadCode64 (
   @return The 8-bit value from the memory adress.\r
 \r
 **/\r
-STATIC\r
 UINT8\r
 VmReadMem8 (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -5282,7 +5167,6 @@ VmReadMem8 (
   @return The 16-bit value from the memory adress.\r
 \r
 **/\r
-STATIC\r
 UINT16\r
 VmReadMem16 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5314,7 +5198,6 @@ VmReadMem16 (
   @return The 32-bit value from the memory adress.\r
 \r
 **/\r
-STATIC\r
 UINT32\r
 VmReadMem32 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -5350,7 +5233,6 @@ VmReadMem32 (
   @return The 64-bit value from the memory adress.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 VmReadMem64 (\r
   IN VM_CONTEXT   *VmPtr,\r
@@ -5400,7 +5282,6 @@ VmReadMem64 (
           adjust for the stack gap and return the modified address.\r
 \r
 **/\r
-STATIC\r
 UINTN\r
 ConvertStackAddr (\r
   IN VM_CONTEXT    *VmPtr,\r
@@ -5421,7 +5302,6 @@ ConvertStackAddr (
   @return The natural value at address Addr.\r
 \r
 **/\r
-STATIC\r
 UINTN\r
 VmReadMemN (\r
   IN VM_CONTEXT    *VmPtr,\r
index 551236e04b6429165719794bffa6e61770008c90..e9805445eac6576d51efdf9c53c46794c9ffe869 100644 (file)
@@ -3,7 +3,7 @@
   be of use to a disassembler for the most part. Also provides function\r
   prototypes for VM functions.\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
index bb3dddc48735343ac0977c3c652df92d18a71127..e6c463e672d64abbe2beec62837d56750d128ff0 100644 (file)
@@ -3,7 +3,7 @@
   Provides auxiliary support routines for the VM. That is, routines\r
   that are not particularly related to VM execution of EBC instructions.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
@@ -48,7 +48,6 @@ typedef struct _EBC_IMAGE_LIST {
   @retval EFI_SUCCESS           The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcUnloadImage (\r
@@ -75,7 +74,6 @@ EbcUnloadImage (
   @retval EFI_OUT_OF_RESOURCES  Memory could not be allocated for the thunk.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcCreateThunk (\r
@@ -96,7 +94,6 @@ EbcCreateThunk (
   @retval EFI_INVALID_PARAMETER Version pointer is NULL.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcGetVersion (\r
@@ -114,7 +111,6 @@ EbcGetVersion (
   @retval Others                Some error occurs when creating periodic event.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 InitializeEbcCallback (\r
@@ -130,7 +126,6 @@ InitializeEbcCallback (
   @param  SystemContext          EBC system context.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 CommonEbcExceptionHandler (\r
@@ -146,7 +141,6 @@ CommonEbcExceptionHandler (
   @param  Context                It should be the address of VM_CONTEXT pointer.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 EbcPeriodicNotifyFunction (\r
@@ -164,7 +158,6 @@ EbcPeriodicNotifyFunction (
   @retval EFI_SUCCESS            The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugPeriodic (\r
@@ -184,7 +177,6 @@ EbcDebugPeriodic (
   @retval EFI_SUCCESS            The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 InitEbcVmTestProtocol (\r
   IN EFI_HANDLE     *IHandle\r
@@ -196,7 +188,6 @@ InitEbcVmTestProtocol (
   @return EFI_UNSUPPORTED  This function always return EFI_UNSUPPORTED status.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EbcVmTestUnsupported (\r
   VOID\r
@@ -212,7 +203,6 @@ EbcVmTestUnsupported (
   @retval EFI_SUCCESS The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcRegisterICacheFlush (\r
@@ -231,7 +221,6 @@ EbcRegisterICacheFlush (
   @retval EFI_SUCCESS           The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugGetMaximumProcessorIndex (\r
@@ -260,7 +249,6 @@ EbcDebugGetMaximumProcessorIndex (
                                 callback function was previously registered.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugRegisterPeriodicCallback (\r
@@ -294,7 +282,6 @@ EbcDebugRegisterPeriodicCallback (
                                 callback function was previously registered.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugRegisterExceptionCallback (\r
@@ -320,7 +307,6 @@ EbcDebugRegisterExceptionCallback (
   @retval EFI_SUCCESS           The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugInvalidateInstructionCache (\r
@@ -571,7 +557,6 @@ ErrorExit:
   @retval EFI_OUT_OF_RESOURCES  Memory could not be allocated for the thunk.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcCreateThunk (\r
@@ -604,7 +589,6 @@ EbcCreateThunk (
   @retval EFI_SUCCESS           The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugGetMaximumProcessorIndex (\r
@@ -638,7 +622,6 @@ EbcDebugGetMaximumProcessorIndex (
                                 callback function was previously registered.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugRegisterPeriodicCallback (\r
@@ -684,7 +667,6 @@ EbcDebugRegisterPeriodicCallback (
                                 callback function was previously registered.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugRegisterExceptionCallback (\r
@@ -724,7 +706,6 @@ EbcDebugRegisterExceptionCallback (
   @retval EFI_SUCCESS           The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugInvalidateInstructionCache (\r
@@ -827,7 +808,6 @@ EbcDebugSignalException (
   @retval Others                Some error occurs when creating periodic event.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 InitializeEbcCallback (\r
@@ -885,7 +865,6 @@ InitializeEbcCallback (
   @param  SystemContext          EBC system context.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 CommonEbcExceptionHandler (\r
@@ -910,7 +889,6 @@ CommonEbcExceptionHandler (
   @param  Context                It should be the address of VM_CONTEXT pointer.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 EbcPeriodicNotifyFunction (\r
@@ -940,7 +918,6 @@ EbcPeriodicNotifyFunction (
   @retval EFI_SUCCESS            The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcDebugPeriodic (\r
@@ -1006,7 +983,6 @@ EbcDebugPeriodic (
   @retval EFI_SUCCESS           The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcUnloadImage (\r
@@ -1152,7 +1128,6 @@ EbcAddImageThunk (
   @retval EFI_SUCCESS The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcRegisterICacheFlush (\r
@@ -1175,7 +1150,6 @@ EbcRegisterICacheFlush (
   @retval EFI_INVALID_PARAMETER Version pointer is NULL.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 EbcGetVersion (\r
@@ -1325,7 +1299,6 @@ FreeEBCStack(
   @retval EFI_SUCCESS            The function completed successfully.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 InitEbcVmTestProtocol (\r
   IN EFI_HANDLE     *IHandle\r
@@ -1367,7 +1340,6 @@ InitEbcVmTestProtocol (
   @return EFI_UNSUPPORTED  This function always return EFI_UNSUPPORTED status.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 EbcVmTestUnsupported (\r
   VOID\r
index c08ae927b46ee66675dd69e112257d58238bc247..a8767e8957f5fa0071bf62ecedfb16354f508239 100644 (file)
@@ -2,7 +2,7 @@
   Main routines for the EBC interpreter.  Includes the initialization and\r
   main interpreter routines.\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
index 774692a76a523d63edccccdfcabb0f3e223962d3..add2f4967070565369d6208318174d54d7e940d3 100644 (file)
@@ -1,15 +1,16 @@
-##/**@file\r
-# Low level IA32 specific EBC support routines.\r
-#\r
-# Copyright (c) 2007 - 2008, 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
+#/** @file\r
+#  \r
+#    Low level IA32 specific EBC support routines.\r
+#  \r
+#  Copyright (c) 2007 - 2008, Intel Corporation. <BR>\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
 #**/\r
 \r
 .globl ASM_PFX(CopyMem)\r
index 6b7672a8377b60d5c0d14231a3cc1dcabee3fa15..ace1d99cae195011a43d3d8e71500e6e4528c97d 100644 (file)
@@ -1,16 +1,17 @@
 ;/** @file\r
-;  This code provides low level routines that support the Virtual Machine\r
-;  for option ROMs.\r
-;\r
+;  \r
+;    This code provides low level routines that support the Virtual Machine\r
+;    for option ROMs.\r
+;  \r
 ;  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
+;  \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
+;  \r
 ;**/\r
 \r
   page    ,132\r
index 787f5ee88540edc2c8956843efaccb7fa9ddc139..1e0e539068ecc6ab8d83a29a2ec654bf0e0bbce4 100644 (file)
@@ -2,7 +2,7 @@
   This module contains EBC support routines that are customized based on\r
   the target processor.\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
@@ -159,7 +159,6 @@ Action:
   @return The value returned by the EBC application we're going to run.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 EbcInterpret (\r
   IN OUT UINTN      Arg1,\r
@@ -308,7 +307,6 @@ EbcInterpret (
   @return The value returned by the EBC application we're going to run.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEbcImageEntryPoint (\r
   IN EFI_HANDLE           ImageHandle,\r
index 36ae269575fed85ae2619d016a34389892f1d3b1..4c0f80fb02f06748afe010e769ccfbd653e8488d 100644 (file)
@@ -1,19 +1,18 @@
-/// @file\r
-///  Contains low level routines for the Virtual Machine implementation\r
-///  on an Itanium-based platform.\r
-///\r
-/// Copyright (c) 2006, 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: EbcLowLevel.s\r
-///\r
-///\r
+///** @file\r
+//  \r
+//  Contains low level routines for the Virtual Machine implementation\r
+//  on an Itanium-based platform.\r
+//\r
+//  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
+//**/\r
 \r
 .file  "EbcLowLevel.s"\r
 \r
index 0f46e6db7947380d5b9b1d0ecea094f540057ddf..46c81b082bc352e3bacaf4a02e697a57ed1bbd32 100644 (file)
@@ -2,7 +2,7 @@
   This module contains EBC support routines that are customized based on\r
   the target processor.\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
@@ -34,7 +34,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @retval EFI_SUCCESS            All data is written.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 WriteBundle (\r
   IN    VOID    *MemPtr,\r
@@ -51,7 +50,6 @@ WriteBundle (
   @param Arg    The value to be pushed.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 PushU64 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -81,7 +79,6 @@ PushU64 (
   @return The value returned by the EBC application we're going to run.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 EbcInterpret (\r
   UINT64      Arg1,\r
@@ -239,7 +236,6 @@ EbcInterpret (
   @return The value returned by the EBC application we're going to run.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEbcImageEntryPoint (\r
   IN EFI_HANDLE           ImageHandle,\r
@@ -365,10 +361,10 @@ ExecuteEbcImageEntryPoint (
 **/\r
 EFI_STATUS\r
 EbcCreateThunks (\r
-  IN EFI_HANDLE   ImageHandle,\r
-  IN VOID         *EbcEntryPoint,\r
-  OUT VOID        **Thunk,\r
-  IN  UINT32      Flags\r
+  IN EFI_HANDLE           ImageHandle,\r
+  IN VOID                 *EbcEntryPoint,\r
+  OUT VOID                **Thunk,\r
+  IN  UINT32              Flags\r
   )\r
 {\r
   UINT8       *Ptr;\r
@@ -722,7 +718,6 @@ EbcCreateThunks (
   @retval EFI_SUCCESS            All data is written.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 WriteBundle (\r
   IN    VOID    *MemPtr,\r
index 9d8de3eee25a51deb7e6547ed72c4d5c072df00e..2cbdff21c12135fb993ff884f90d60fec566e2a5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Definition of EBC Support function.\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
index aa65bf6a5e36664f07549431d886c67fbef3e762..aa7024b3e0c3dcc366412a928312631c280e25cc 100644 (file)
@@ -1,16 +1,17 @@
-##/**@file\r
-# This code provides low level routines that support the Virtual Machine\r
-# for option ROMs.\r
-#\r
-# Copyright (c) 2007 - 2008, 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
+#/** @file\r
+#  \r
+#    This code provides low level routines that support the Virtual Machine\r
+#   for option ROMs.\r
+#  \r
+#  Copyright (c) 2007 - 2008, Intel Corporation. <BR>\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
 #**/\r
 \r
 #---------------------------------------------------------------------------\r
index 51e80832b3ff67480124a74badc0f19ebbad9456..6741405cbcc68b4b110def084860241a2e587dee 100644 (file)
@@ -1,19 +1,19 @@
 ;/** @file\r
-;  This code provides low level routines that support the Virtual Machine.\r
-;  for option ROMs.\r
-;\r
+;  \r
+;    This code provides low level routines that support the Virtual Machine.\r
+;    for option ROMs.\r
+;  \r
 ;  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
+;  \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
+;  \r
 ;**/\r
 \r
-\r
   page    ,132\r
   title   VM ASSEMBLY LANGUAGE ROUTINES\r
 \r
index 7f31260a7134494683e095044cd762919cedbaad..2a01c892456921ac66a8c37c0a40ef915734210e 100644 (file)
@@ -2,7 +2,7 @@
   This module contains EBC support routines that are customized based on\r
   the target x64 processor.\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
@@ -35,7 +35,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @param Arg    The value to be pushed.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 PushU64 (\r
   IN VM_CONTEXT *VmPtr,\r
@@ -81,7 +80,6 @@ PushU64 (
   @return The value returned by the EBC application we're going to run.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 EbcInterpret (\r
   IN OUT UINTN      Arg1,\r
@@ -234,7 +232,6 @@ EbcInterpret (
   @return The value returned by the EBC application we're going to run.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ExecuteEbcImageEntryPoint (\r
   IN EFI_HANDLE           ImageHandle,\r