X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFspPkg%2FFspSecCore%2FIa32%2FFspApiEntry.asm;h=a0c9b1ed7351a5911310283cc9e0560472a733ba;hp=d736f8035895afd3042360f9043970f8873f7933;hb=12a92f51f0efaa0c4f7abdaf869984ae1c65f430;hpb=3b17b2458726bf7e2cf640d29ebe14f8af587905 diff --git a/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm b/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm index d736f80358..a0c9b1ed73 100644 --- a/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm +++ b/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm @@ -37,8 +37,8 @@ EXTERN FspApiCallingCheck:PROC ; ; Following functions will be provided in PlatformSecLib ; -EXTERN GetFspBaseAddress:PROC -EXTERN GetFspInfoHdr:PROC +EXTERN AsmGetFspBaseAddress:PROC +EXTERN AsmGetFspInfoHeader:PROC EXTERN GetBootFirmwareVolumeOffset:PROC EXTERN Loader2PeiSwitchStack:PROC EXTERN LoadMicrocode(LoadMicrocodeDefault):PROC @@ -489,8 +489,8 @@ FspApiCommon PROC C PUBLIC ; 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 @@ -506,7 +506,7 @@ FspApiCommon PROC C PUBLIC cmp eax, 3 ; FspMemoryInit API jz @F - call GetFspInfoHdr + call AsmGetFspInfoHeader jmp Loader2PeiSwitchStack @@: @@ -523,7 +523,7 @@ FspApiCommon PROC C PUBLIC ; Update the FspInfoHeader pointer ; push eax - call GetFspInfoHdr + call AsmGetFspInfoHeader mov [esp + 4], eax pop eax @@ -559,7 +559,7 @@ FspApiCommon PROC C PUBLIC ; ; Pass entry point of the PEI core ; - call GetFspBaseAddress + call AsmGetFspBaseAddress mov edi, eax add edi, PcdGet32 (PcdFspAreaSize) sub edi, 20h @@ -573,7 +573,7 @@ FspApiCommon PROC C PUBLIC ; PcdFspAreaBaseAddress are the same. For FSP with mulitple FVs, ; they are different. The code below can handle both cases. ; - call GetFspBaseAddress + call AsmGetFspBaseAddress mov edi, eax call GetBootFirmwareVolumeOffset add eax, edi