Unify use of post_code
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6487 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
1fa61ebb33
commit
5005bb06c1
@ -14,7 +14,7 @@ _start:
|
||||
movl %eax, %fs
|
||||
movl %eax, %gs
|
||||
|
||||
post_code(0x13) /* post 13 */
|
||||
post_code(POST_ENTRY_C_START) /* post 13 */
|
||||
|
||||
/** clear stack */
|
||||
cld
|
||||
@ -73,7 +73,7 @@ _start:
|
||||
* bss is cleared. Now we call the main routine and
|
||||
* let it do the rest.
|
||||
*/
|
||||
post_code(0xfe) /* post fe */
|
||||
post_code(POST_PRE_HARDWAREMAIN) /* post fe */
|
||||
|
||||
/* Restore the stack location */
|
||||
movl %ebp, %esp
|
||||
@ -82,7 +82,7 @@ _start:
|
||||
call hardwaremain
|
||||
/* NOTREACHED */
|
||||
.Lhlt:
|
||||
post_code(0xee) /* post ee */
|
||||
post_code(POST_DEAD_CODE) /* post ee */
|
||||
hlt
|
||||
jmp .Lhlt
|
||||
|
||||
|
Reference in New Issue
Block a user