indirect jmp with *

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2145 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Yinghai Lu 2005-12-14 23:13:13 +00:00
parent 30576601f6
commit 6c02eb2cb5
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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"
);
}