diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2005-12-14 23:13:13 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2005-12-14 23:13:13 +0000 |
commit | 6c02eb2cb54c5013f2bba4622cc1a487bca55d1f (patch) | |
tree | 201e82e207043477fc7562c191e44f2fa7dc7dfe | |
parent | 30576601f6d29a72d5057ac0051ebe3479abc03c (diff) | |
download | coreboot-6c02eb2cb54c5013f2bba4622cc1a487bca55d1f.tar.xz |
indirect jmp with *
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2145 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/arch/i386/init/crt0.S.lb | 2 | ||||
-rw-r--r-- | src/cpu/amd/car/copy_and_run.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/init/crt0.S.lb b/src/arch/i386/init/crt0.S.lb index 67ef91059b..1b4ce4a0a1 100644 --- a/src/arch/i386/init/crt0.S.lb +++ b/src/arch/i386/init/crt0.S.lb @@ -163,7 +163,7 @@ decompr_end_n2b: CONSOLE_DEBUG_TX_STRING($str_pre_main) leal _iseg, %edi - jmp %edi + jmp *%edi .Lhlt: intel_chip_post_macro(0xee) /* post fe */ diff --git a/src/cpu/amd/car/copy_and_run.c b/src/cpu/amd/car/copy_and_run.c index 9c6508b8d7..55068c5511 100644 --- a/src/cpu/amd/car/copy_and_run.c +++ b/src/cpu/amd/car/copy_and_run.c @@ -129,7 +129,7 @@ static void copy_and_run(unsigned cpu_reset) __asm__ volatile ( "cli\n\t" "leal _iseg, %edi\n\t" - "jmp %edi\n\t" + "jmp *%edi\n\t" ); } |