[LinuxBIOS] LinuxBIOSv3 lgdt and gdtptr patch

Uwe Hermann uwe at hermann-uwe.de
Thu Dec 6 22:12:22 CET 2007


On Thu, Dec 06, 2007 at 10:14:41AM -0700, Myles Watson wrote:
> It was submitted (but not in patch form) by Brendan Trotter
> http://www.mail-archive.com/linuxbios@linuxbios.org/msg08771.html
> 
> Here it is in patch form.
> -	data32	lgdt %cs:gdtptr
> +	movl	$gdtptr, %ebx
> +	lgdt	%cs:(%bx)
> 
> It removes the first line, which causes some compilers to give a
> "truncated gdtptr" error, and replaces it with an intermediate load
> step. I think it should be tested by someone with the "working"
> compiler, to compare the output.

Please repost with a Signed-off-by.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org




More information about the coreboot mailing list