Re: [PATCH] shorten the x86_64 boot setup GDT to what the comment says

From: Alexander van Heukelum
Date: Sun Nov 12 2006 - 08:48:03 EST



On Fri, 10 Nov 2006 16:46:00 +0100, "Alexander van Heukelum"
<heukelum@xxxxxxxxxxxxx> said:
> On Fri, Nov 10, 2006 at 03:01:39PM +0100, Andi Kleen wrote:
> > > Hi Andi,
> > >
> > > (Assuming you mean: "The gdt table already is 16-byte aligned.")
> > >
> > > Hmm. Not in the most recent version of Linus' tree, not even by
> > > concidence, and none of the patches in your quilt-current/patches touch
> > > x86_64's version of setup.S. Am I missing something?
> >
> > The main GDT is. The boot GDT isn't, but it doesn't matter because
> > it is only used for a very short time.
>
> Aha, thanks for clearing that up. I agree it is not important to have
> the boot GDT aligned, but I think it is preferable to make parts of the
> two versions of setup.S equal if possible.
>
> Let's see what Steven Rostedt comes up with.
>
> I find the relocatable image patches interesting. I wonder if one can
> get such a kernel 'running' using bochs, freedos, and loadlin ;).

Was it clear that I was sceptical about this still working? Oh well,
I tried it, and it did not break. Freedos' versions of himem and emm386
loaded, DOS=HIGH,UMB.

Alexander
--
Alexander van Heukelum
heukelum@xxxxxxxxxxx

--
http://www.fastmail.fm - Same, same, but different?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/