summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/init/crt0_romcc_epilogue.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/init/crt0_romcc_epilogue.inc')
-rw-r--r--src/arch/x86/init/crt0_romcc_epilogue.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/x86/init/crt0_romcc_epilogue.inc b/src/arch/x86/init/crt0_romcc_epilogue.inc
index 3bd1b36..b19f968 100644
--- a/src/arch/x86/init/crt0_romcc_epilogue.inc
+++ b/src/arch/x86/init/crt0_romcc_epilogue.inc
@@ -5,11 +5,12 @@
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; version 2 of the License.
*/
+#include <cpu/x86/post_code.h>
/* clear boot_complete flag */
xorl %ebp, %ebp
__main:
- post_code(0x11)
+ post_code(POST_PREPARE_RAMSTAGE)
cld /* clear direction flag */
movl %ebp, %esi
@@ -20,7 +21,7 @@ __main:
call copy_and_run
.Lhlt:
- post_code(0xee)
+ post_code(POST_DEAD_CODE)
hlt
jmp .Lhlt
OpenPOWER on IntegriCloud