copy_and_run: drop boot_complete parameter
[gnutoo-for-coreboot:coreboot.git] / src / arch / x86 / init / crt0_romcc_epilogue.inc
1 /*
2  * Copyright 2002 Eric Biederman
3  *
4  * This file is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; version 2 of the License.
7  */
8 #include <cpu/x86/post_code.h>
9
10 __main:
11         post_code(POST_PREPARE_RAMSTAGE)
12         cld                     /* clear direction flag */
13
14         movl $ROMSTAGE_STACK, %esp
15         movl    %esp, %ebp
16         call copy_and_run
17
18 .Lhlt:
19         post_code(POST_DEAD_CODE)
20         hlt
21         jmp     .Lhlt
22