]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspPkg/FspSecCore/Ia32/FspHelper.s
Add dual FSP binaries support.
[mirror_edk2.git] / IntelFspPkg / FspSecCore / Ia32 / FspHelper.s
index 40b822ac8712dd0fe1761bcd63d678d289b03e87..5d1bf74c30f4e4c2cf93beb21d4bd14f71319aff 100644 (file)
@@ -31,3 +31,8 @@ ASM_PFX(GetFspBaseAddress):
    mov    (%eax), %eax\r
    ret\r
 \r
+ASM_GLOBAL ASM_PFX(GetFspInfoHdr)\r
+ASM_PFX(GetFspInfoHdr):\r
+   mov    $GetFspBaseAddress, %eax\r
+   sub    $FspInfoHeaderRelativeOff, %eax\r
+   ret\r