On Thu, Dec 06, 2007 at 03:08:58PM -0700, Myles Watson wrote:
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.
I was hoping Brendan Trotter would supply that, since it was his work. It could be considered trivial, though, if the compiler output is the same.
Yes, I guess this is trivial enough so you can post it with your Signed-off-by, but if Brendan (CC'd) can re-send with a Signed-off-by that's fine too, of course.
Uwe.