X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=IntelFspPkg%2FFspSecCore%2FIa32%2FFspApiEntry.s;h=8f4093ca1940a7adad50ba5b895950ec0ea51fb5;hb=12a92f51f0efaa0c4f7abdaf869984ae1c65f430;hp=e7b82d5e939c3505254122415b2ea7893e856bef;hpb=16b7e82c2ba9465e87d634e1da6e3b322279f5f7;p=mirror_edk2.git diff --git a/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s b/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s index e7b82d5e93..8f4093ca19 100644 --- a/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s +++ b/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s @@ -703,9 +703,10 @@ FspApiCommonL0: # 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