1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
12 ; Find and call SecStartup
14 ;------------------------------------------------------------------------------
22 EXTRN PlatformInit:NEAR
24 CallPeiCoreEntryPoint PROC PUBLIC
26 ; Obtain the hob list pointer
30 ; Obtain the stack information
51 ; Set stack top pointer
56 ; Push the hob list pointer
70 ; Push processor count to stack first, then BIST status (AP then BSP)
77 jae PushProcessorCount
80 ; Some processors report 0 logical processors. Effectively 0 = 1.
81 ; So we fix up the processor count
89 ; We need to implement a long-term solution for BIST capture. For now, we just copy BSP BIST
90 ; for all processor threads
99 ; Save Time-Stamp Counter
107 ; Pass entry point of the PEI core
110 push DWORD PTR ds:[edi]
113 ; Pass BFV into the PEI Core
116 push DWORD PTR ds:[edi]
119 ; Pass stack size into the PEI Core
129 ; Pass Control into the PEI Core
132 CallPeiCoreEntryPoint ENDP