Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

Jeremy Fitzhardinge
2008-01-24T22:59:42Z

H. Peter Anvin wrote:
> Yeah, and it's ugly for the kernel proper, so that bit is a
> no-brainer. It's just a matter of hammering out the details.
>
> It doesn't sound from the above that you have any opinion either way
> about reusing the initial page tables or creating a new set, as long
> as they're in the same format.

Right.

Xen provides a initial set of pagetables in the appropriate format, so
what head.S generates is moot. For simplicity I graft the Xen-provided
pagetables into swapper_pg_dir in xen_start_kernel, so it is the
functional equivalent to the head.S pagetable construction.

We also don't (yet) support PSE, so that's a non-issue for us too.

J