summaryrefslogtreecommitdiffstats
path: root/IntelFsp2WrapperPkg/Library
diff options
context:
space:
mode:
authorChasel, Chiu <chasel.chiu@intel.com>2018-08-22 09:41:25 +0800
committerChasel, Chiu <chasel.chiu@intel.com>2018-08-22 09:41:25 +0800
commit14a6beac3bcb69f3a01a8a6efbf87008c63b60f0 (patch)
treeb99371782acfb1252888c3beac5437941daa6aaf /IntelFsp2WrapperPkg/Library
parentcc6939067008c4dcab990d5e8be65086ec393afa (diff)
downloadedk2-14a6beac3bcb69f3a01a8a6efbf87008c63b60f0.tar.gz
edk2-14a6beac3bcb69f3a01a8a6efbf87008c63b60f0.tar.bz2
edk2-14a6beac3bcb69f3a01a8a6efbf87008c63b60f0.zip
IntelFsp2WrapperPkg: Add EFIAPI to AsmExecute32BitCode
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>
Diffstat (limited to 'IntelFsp2WrapperPkg/Library')
-rw-r--r--IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c
index 061d381c1b..8f66c72698 100644
--- a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c
+++ b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c
@@ -3,7 +3,7 @@
Provide a thunk function to transition from long mode to compatibility mode to execute 32-bit code and then transit
back to long mode.
- Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
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
@@ -67,6 +67,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED IA32_DESCRIPTOR mGdt = {
@return status.
**/
UINT32
+EFIAPI
AsmExecute32BitCode (
IN UINT64 Function,
IN UINT64 Param1,