Add dual FSP binaries support.
There are two FSP images at different locations in a flash (one factory version is read only and other in updatable version) TempRamInit, FspMemoryInit and TempRamExit are executed from factory version and FspSiliconInit/NotifyPhase will be executed from updatable version. Also update FSP specification version to v1.1. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Ma, Maurice" <maurice.ma@intel.com> Reviewed-by: "Yao, Jiewen" <Jiewen.Yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17248 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user