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.