[LinuxBIOS] LinuxBIOSv3 lgdt and gdtptr patch
uwe at hermann-uwe.de
Sun Dec 9 18:28:14 CET 2007
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://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.
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.
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