diff options
Diffstat (limited to 'IntelFspPkg/FspSecCore/Ia32/FspHelper.asm')
-rw-r--r-- | IntelFspPkg/FspSecCore/Ia32/FspHelper.asm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/IntelFspPkg/FspSecCore/Ia32/FspHelper.asm b/IntelFspPkg/FspSecCore/Ia32/FspHelper.asm index 51fd365c95..655481c14f 100644 --- a/IntelFspPkg/FspSecCore/Ia32/FspHelper.asm +++ b/IntelFspPkg/FspSecCore/Ia32/FspHelper.asm @@ -15,7 +15,7 @@ .model flat,C
.code
-FspInfoHeaderRelativeOff PROC NEAR PRIVATE
+FspInfoHeaderRelativeOff PROC NEAR PUBLIC
;
; This value will be pached by the build script
;
@@ -30,4 +30,10 @@ GetFspBaseAddress PROC NEAR PUBLIC ret
GetFspBaseAddress ENDP
+GetFspInfoHdr PROC NEAR PUBLIC
+ mov eax, GetFspBaseAddress
+ sub eax, dword ptr [FspInfoHeaderRelativeOff]
+ ret
+GetFspInfoHdr ENDP
+
END
\ No newline at end of file |