mirror of https://github.com/acidanthera/audk.git
QuarkPlatformPkg/PlatformSecLib: Sync Flat32.S with Flat32.asm
Update Flat32.S to match Flat32.asm. A sync was missed, so Flat32.S is calling SecStartup instead of PlatformSecLibStartup which is causing a boot failures with GCC builds because the caches are not initialized correctly when the call to PlatformSecLibStartup is not performed. Cc: Kelly Steele <kelly.steele@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Kelly Steele <kelly.steele@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19306 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
66e2fa80b2
commit
d6af9cabad
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2013 Intel Corporation.
|
||||
# Copyright (c) 2013 - 2015 Intel Corporation.
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@ -301,35 +301,10 @@ PushBist:
|
|||
pushl %ebp
|
||||
loop PushBist
|
||||
|
||||
#
|
||||
# Pass entry point of the PEI core
|
||||
#
|
||||
movl $0xFFFFFFE0, %edi
|
||||
pushl %ds:(%edi)
|
||||
|
||||
#
|
||||
# Pass BFV into the PEI Core
|
||||
#
|
||||
movl $0xFFFFFFFC, %edi
|
||||
pushl %ds:(%edi)
|
||||
|
||||
#
|
||||
# Pass Temp Ram Base into the PEI Core
|
||||
#
|
||||
movl ASM_PFX(PcdGet32(PcdEsramStage1Base)), %eax
|
||||
addl $(QUARK_ESRAM_MEM_SIZE_BYTES - QUARK_STACK_SIZE_BYTES), %eax
|
||||
pushl %eax
|
||||
|
||||
|
||||
#
|
||||
# Pass stack size into the PEI Core
|
||||
#
|
||||
pushl $QUARK_STACK_SIZE_BYTES
|
||||
|
||||
#
|
||||
# Pass Control into the PEI Core
|
||||
#
|
||||
call SecStartup
|
||||
call PlatformSecLibStartup
|
||||
|
||||
#
|
||||
# PEI Core should never return to here, this is just to capture an invalid return.
|
||||
|
|
Loading…
Reference in New Issue