mirror of https://github.com/acidanthera/audk.git
IntelFsp2Pkg: Fix build error with WHOLEARCHIVE option
Add empty TempRamInitApi function to fix build error with WHOLEARCHIVE option Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
02739b0f41
commit
c69071bd7e
|
@ -194,6 +194,17 @@ ASM_PFX(AsmGetPeiCoreOffset):
|
||||||
mov eax, dword [ASM_PFX(FspPeiCoreEntryOff)]
|
mov eax, dword [ASM_PFX(FspPeiCoreEntryOff)]
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
;----------------------------------------------------------------------------
|
||||||
|
; TempRamInit API
|
||||||
|
;
|
||||||
|
; Empty function for WHOLEARCHIVE build option
|
||||||
|
;
|
||||||
|
;----------------------------------------------------------------------------
|
||||||
|
global ASM_PFX(TempRamInitApi)
|
||||||
|
ASM_PFX(TempRamInitApi):
|
||||||
|
jmp $
|
||||||
|
ret
|
||||||
|
|
||||||
;----------------------------------------------------------------------------
|
;----------------------------------------------------------------------------
|
||||||
; Module Entrypoint API
|
; Module Entrypoint API
|
||||||
;----------------------------------------------------------------------------
|
;----------------------------------------------------------------------------
|
||||||
|
|
|
@ -53,6 +53,17 @@ ASM_PFX(FspApiCommonContinue):
|
||||||
jmp $
|
jmp $
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
;----------------------------------------------------------------------------
|
||||||
|
; TempRamInit API
|
||||||
|
;
|
||||||
|
; Empty function for WHOLEARCHIVE build option
|
||||||
|
;
|
||||||
|
;----------------------------------------------------------------------------
|
||||||
|
global ASM_PFX(TempRamInitApi)
|
||||||
|
ASM_PFX(TempRamInitApi):
|
||||||
|
jmp $
|
||||||
|
ret
|
||||||
|
|
||||||
;----------------------------------------------------------------------------
|
;----------------------------------------------------------------------------
|
||||||
; Module Entrypoint API
|
; Module Entrypoint API
|
||||||
;----------------------------------------------------------------------------
|
;----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue