]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFsp2WrapperPkg: Add EFIAPI to AsmExecute32BitCode
authorChasel, Chiu <chasel.chiu@intel.com>
Wed, 22 Aug 2018 01:41:25 +0000 (09:41 +0800)
committerChasel, Chiu <chasel.chiu@intel.com>
Wed, 22 Aug 2018 01:41:25 +0000 (09:41 +0800)
AsmExecute32BitCode is assembly code and needs EFIAPI

Cc: Jiewen Yao <Jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c

index 061d381c1bb931754e085294223b5cd24804a788..8f66c7269816fe9b38fb2de6199364c72a40c4dc 100644 (file)
@@ -3,7 +3,7 @@
   Provide a thunk function to transition from long mode to compatibility mode to execute 32-bit code and then transit\r
   back to long mode.\r
 \r
   Provide a thunk function to transition from long mode to compatibility mode to execute 32-bit code and then transit\r
   back to long mode.\r
 \r
-  Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2018, 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
   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
@@ -67,6 +67,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED IA32_DESCRIPTOR mGdt = {
   @return status.\r
 **/\r
 UINT32\r
   @return status.\r
 **/\r
 UINT32\r
+EFIAPI\r
 AsmExecute32BitCode (\r
   IN UINT64           Function,\r
   IN UINT64           Param1,\r
 AsmExecute32BitCode (\r
   IN UINT64           Function,\r
   IN UINT64           Param1,\r