[LinuxBIOS] LinuxBIOSv3 lgdt and gdtptr patch
myles at pel.cs.byu.edu
Thu Dec 6 23:08:58 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://firstname.lastname@example.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.
More information about the coreboot