2 ;------------------------------------------------------------------------------
4 ;* Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
5 ;* This program and the accompanying materials
6 ;* are licensed and made available under the terms and conditions of the BSD License
7 ;* which accompanies this distribution. The full text of the license may be found at
8 ;* http://opensource.org/licenses/bsd-license.php
10 ;* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 ;* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 ;------------------------------------------------------------------------------
23 EXTERN SecCoreStartupWithStack:PROC
28 ; Processor is in flat protected mode
30 ; @param[in] RAX Initial value of the EAX register (BIST: Built-in Self Test)
31 ; @param[in] DI 'BP': boot-strap processor, or 'AP': application processor
32 ; @param[in] RBP Pointer to the start of the Boot Firmware Volume
34 ; @return None This routine does not return
36 _ModuleEntryPoint PROC PUBLIC
39 ; Load temporary stack top at very low memory. The C code
40 ; can reload to a better address.
46 ; Setup parameters and call SecCoreStartupWithStack
47 ; rcx: BootFirmwareVolumePtr
48 ; rdx: TopOfCurrentStack
53 call SecCoreStartupWithStack
55 _ModuleEntryPoint ENDP