indirect jmp with *
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2145 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
		@@ -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 */
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
	);
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user