2 # ConvertAsm.py: Automatically generated from SecEntry.asm
6 #------------------------------------------------------------------------------
8 #* Copyright 2006 - 2009, Intel Corporation
9 #* All rights reserved. This program and the accompanying materials
10 #* are licensed and made available under the terms and conditions of the BSD License
11 #* which accompanies this distribution. The full text of the license may be found at
12 #* http://opensource.org/licenses/bsd-license.php
14 #* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 #* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 #------------------------------------------------------------------------------
26 #EXTERN ASM_PFX(SecCoreStartupWithStack)
31 # Processor is in flat protected mode
33 # @param ESI Pointer to SEC Core Entry Point (this function)
34 # @param EDI Pointer to PEI Core Entry Point
35 # @param EBP Pointer to the start of the Boot Firmware Volume
41 ASM_GLOBAL ASM_PFX(_ModuleEntryPoint)
42 ASM_PFX(_ModuleEntryPoint):
45 # Load temporary stack top at very low memory. The C code
46 # can reload to a better address.
48 mov eax, INITIAL_TOP_OF_STACK
59 call ASM_PFX(SecCoreStartupWithStack)