After this has been brought up many times before, rename src/arch/i386 to
[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
9         /* clear boot_complete flag */
10         xorl    %ebp, %ebp
11 __main:
12         post_code(0x11)
13         cld                     /* clear direction flag */
14
15         movl    %ebp, %esi
16
17         movl $ROMSTAGE_STACK, %esp
18         movl    %esp, %ebp
19         pushl %esi
20         call copy_and_run
21
22 .Lhlt:
23         post_code(0xee)
24         hlt
25         jmp     .Lhlt
26