]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspPkg/FspSecCore/Ia32/FspHelper.asm
Add dual FSP binaries support.
[mirror_edk2.git] / IntelFspPkg / FspSecCore / Ia32 / FspHelper.asm
index 51fd365c95871ed183077397f18fd21f26c5dba7..655481c14f9b2d1aec59ac75429083753c8e74a7 100644 (file)
@@ -15,7 +15,7 @@
     .model  flat,C\r
     .code\r
 \r
-FspInfoHeaderRelativeOff    PROC      NEAR    PRIVATE\r
+FspInfoHeaderRelativeOff    PROC      NEAR    PUBLIC\r
    ;\r
    ; This value will be pached by the build script\r
    ;\r
@@ -30,4 +30,10 @@ GetFspBaseAddress           PROC      NEAR    PUBLIC
    ret\r
 GetFspBaseAddress           ENDP\r
 \r
+GetFspInfoHdr               PROC      NEAR    PUBLIC\r
+   mov   eax, GetFspBaseAddress\r
+   sub   eax, dword ptr [FspInfoHeaderRelativeOff]\r
+   ret\r
+GetFspInfoHdr               ENDP\r
+\r
      END
\ No newline at end of file