IntelFsp2Pkg/FspSecCore: Add FSP-I API for SMM support.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3993 Add FSP-I API entry point for SMM support. Also update 64bit API entry code to assign ApiIdx to RAX to avoid confusion. Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Chasel Chiu <chasel.chiu@intel.com> Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
24eac4caf3
commit
4824924377
@@ -55,7 +55,7 @@ FSP_HEADER_CFGREG_OFFSET EQU 24h
|
||||
;----------------------------------------------------------------------------
|
||||
global ASM_PFX(FspMemoryInitApi)
|
||||
ASM_PFX(FspMemoryInitApi):
|
||||
mov eax, 3 ; FSP_API_INDEX.FspMemoryInitApiIndex
|
||||
mov rax, 3 ; FSP_API_INDEX.FspMemoryInitApiIndex
|
||||
jmp ASM_PFX(FspApiCommon)
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
@@ -66,7 +66,7 @@ ASM_PFX(FspMemoryInitApi):
|
||||
;----------------------------------------------------------------------------
|
||||
global ASM_PFX(TempRamExitApi)
|
||||
ASM_PFX(TempRamExitApi):
|
||||
mov eax, 4 ; FSP_API_INDEX.TempRamExitApiIndex
|
||||
mov rax, 4 ; FSP_API_INDEX.TempRamExitApiIndex
|
||||
jmp ASM_PFX(FspApiCommon)
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user