indirect jmp with *
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2145 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
30576601f6
commit
6c02eb2cb5
|
@ -163,7 +163,7 @@ decompr_end_n2b:
|
||||||
|
|
||||||
CONSOLE_DEBUG_TX_STRING($str_pre_main)
|
CONSOLE_DEBUG_TX_STRING($str_pre_main)
|
||||||
leal _iseg, %edi
|
leal _iseg, %edi
|
||||||
jmp %edi
|
jmp *%edi
|
||||||
|
|
||||||
.Lhlt:
|
.Lhlt:
|
||||||
intel_chip_post_macro(0xee) /* post fe */
|
intel_chip_post_macro(0xee) /* post fe */
|
||||||
|
|
|
@ -129,7 +129,7 @@ static void copy_and_run(unsigned cpu_reset)
|
||||||
__asm__ volatile (
|
__asm__ volatile (
|
||||||
"cli\n\t"
|
"cli\n\t"
|
||||||
"leal _iseg, %edi\n\t"
|
"leal _iseg, %edi\n\t"
|
||||||
"jmp %edi\n\t"
|
"jmp *%edi\n\t"
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue