Add the coreboot config to CBFS
[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         /* clear boot_complete flag */
11         xorl    %ebp, %ebp
12 __main:
13         post_code(POST_PREPARE_RAMSTAGE)
14         cld                     /* clear direction flag */
15
16         movl    %ebp, %esi
17
18         movl $ROMSTAGE_STACK, %esp
19         movl    %esp, %ebp
20         pushl %esi
21         call copy_and_run
22
23 .Lhlt:
24         post_code(POST_DEAD_CODE)
25         hlt
26         jmp     .Lhlt
27