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
#------------------------------------------------------------------------------\r
#\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2013 Intel Corporation.\r
+# Copyright (c) 2013 - 2015 Intel Corporation.\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
pushl %ebp\r
loop PushBist\r
\r
pushl %ebp\r
loop PushBist\r
\r
- #\r
- # Pass entry point of the PEI core\r
- #\r
- movl $0xFFFFFFE0, %edi\r
- pushl %ds:(%edi)\r
-\r
- #\r
- # Pass BFV into the PEI Core\r
- #\r
- movl $0xFFFFFFFC, %edi\r
- pushl %ds:(%edi)\r
-\r
- #\r
- # Pass Temp Ram Base into the PEI Core\r
- #\r
- movl ASM_PFX(PcdGet32(PcdEsramStage1Base)), %eax\r
- addl $(QUARK_ESRAM_MEM_SIZE_BYTES - QUARK_STACK_SIZE_BYTES), %eax\r
- pushl %eax\r
-\r
-\r
- #\r
- # Pass stack size into the PEI Core\r
- #\r
- pushl $QUARK_STACK_SIZE_BYTES\r
-\r
#\r
# Pass Control into the PEI Core\r
#\r
#\r
# Pass Control into the PEI Core\r
#\r
+ call PlatformSecLibStartup\r
\r
#\r
# PEI Core should never return to here, this is just to capture an invalid return.\r
\r
#\r
# PEI Core should never return to here, this is just to capture an invalid return.\r