[fb-d] Re: [OpenBIOS] Mixing 16 and 32 bits code
Ronald G Minnich
rminnich at lanl.gov
Sat May 20 14:17:20 CEST 2000
On Fri, 19 May 2000, James Hendricks wrote:
> > Hmm, why would you encode lgdt manually? I can't recall gas handling it
> > incorrectly and even if it did it would be gas that would need fixing.
> > AFAIR, the "lgdtl %es:2" instruction yields exactly the same bytes as you
> > emit explicitly above.
> As I remember we wanted it and a jump to fit in an exact space at FFF0 or
> something like that. Ron can tell us better Monday (LANL is closed for a
> few days because of fire).
well the reason we don't use a symbolic reference to the GDT is that ld
kept fouling it up. Hence the need to hardcode the address. I just got
disgusted with the whole thing and hand-assembled it.
To unsubscribe: send mail to majordomo at freiburg.linux.de
with 'unsubscribe openbios' in the body of the message
More information about the openbios