Revision: 17283
http://sourceforge.net/p/edk2/code/17283
Author: vanjeff
Date: 2015-05-04 01:46:32 +0000 (Mon, 04 May 2015)
Log Message:
-----------
Fix FSP GCC error on FspApiCallingCheck().
Add comment for ASM.
(Sync patch r17281 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <[email protected]>
Reviewed-by: "Mudusuru, Giri P" <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/17281
Modified Paths:
--------------
branches/UDK2014.SP1/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm
branches/UDK2014.SP1/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s
Modified: branches/UDK2014.SP1/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm
===================================================================
--- branches/UDK2014.SP1/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm
2015-05-01 23:09:53 UTC (rev 17282)
+++ branches/UDK2014.SP1/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm
2015-05-04 01:46:32 UTC (rev 17283)
@@ -489,8 +489,8 @@
; Verify the calling condition
;
pushad
- push [esp + 4 * 8 + 4]
- push eax
+ push [esp + 4 * 8 + 4] ; push ApiParam
+ push eax ; push ApiIdx
call FspApiCallingCheck
add esp, 8
cmp eax, 0
Modified: branches/UDK2014.SP1/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s
===================================================================
--- branches/UDK2014.SP1/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s
2015-05-01 23:09:53 UTC (rev 17282)
+++ branches/UDK2014.SP1/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s
2015-05-04 01:46:32 UTC (rev 17283)
@@ -703,9 +703,10 @@
# Verify the calling condition
#
pushal
- pushl %eax
+ pushl 36(%esp) #push ApiParam [esp + 4 * 8 + 4]
+ pushl %eax #push ApiIdx
call ASM_PFX(FspApiCallingCheck)
- addl $0x04, %esp
+ addl $0x08, %esp
cmpl $0x00, %eax
jz FspApiCommonL1
movl %eax, 0x1C(%esp) # mov dword ptr [esp + 4 * 7],
eax
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits