2 ;------------------------------------------------------------------------------
4 ;* Copyright 2006 - 2009, Intel Corporation
5 ;* All rights reserved. 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 ;------------------------------------------------------------------------------
25 EXTERN SecCoreStartupWithStack:PROC
30 ; Processor is in flat protected mode
32 ; @param ESI Pointer to SEC Core Entry Point (this function)
33 ; @param EDI Pointer to PEI Core Entry Point
34 ; @param EBP Pointer to the start of the Boot Firmware Volume
39 _ModuleEntryPoint PROC PUBLIC
42 ; Load temporary stack top at very low memory. The C code
43 ; can reload to a better address.
45 mov eax, INITIAL_TOP_OF_STACK
56 call SecCoreStartupWithStack
58 _ModuleEntryPoint ENDP