diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2011-04-11 20:17:22 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2011-04-11 20:17:22 +0000 |
commit | 5005bb06c17461ef75cd1fef55c24dffaa05e580 (patch) | |
tree | 2c38986a89152225ad56cb44227f5bc6ddbecd06 /src/cpu/x86/32bit | |
parent | 1fa61ebb3344105ae633ed7eb1be05cc574b666c (diff) | |
download | coreboot-5005bb06c17461ef75cd1fef55c24dffaa05e580.tar.xz |
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
Diffstat (limited to 'src/cpu/x86/32bit')
-rw-r--r-- | src/cpu/x86/32bit/entry32.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/x86/32bit/entry32.inc b/src/cpu/x86/32bit/entry32.inc index de3b6cdfaa..740ea47bc7 100644 --- a/src/cpu/x86/32bit/entry32.inc +++ b/src/cpu/x86/32bit/entry32.inc @@ -1,6 +1,7 @@ /* For starting coreboot in protected mode */ #include <arch/rom_segs.h> +#include <cpu/x86/post_code.h> .code32 @@ -51,7 +52,7 @@ __protected_start: /* Save the BIST value */ movl %eax, %ebp - post_code(0x10) + post_code(POST_ENTER_PROTECTED_MODE) movw $ROM_DATA_SEG, %ax movw %ax, %ds |