On Mon, 2009-06-22 at 11:52 +0200, Robert Millan wrote: > > Since %cs is pointing to the code, it should be possible to point it to > > gdtdesc. They should be nearby. > > It is nearby, but the address reference for `gdtdesc' is absolute, NOT > relative to %cs. Of course, when %cs is 0 that's no problem. But in my > case I can't set %cs to 0 because my code is above 0x10000.
I think we can remove ADDR32 from the command. I tried that on i386-pc and it works in qemu and on real hardware. I don't see any need to use a 32-bit address in the lgdt command. -- Regards, Pavel Roskin _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel