• Jeremy Fitzhardinge's avatar
    xen32: create initial mappings like 64-bit · 39dbc5bd
    Jeremy Fitzhardinge authored
    Rearrange the pagetable initialization to share code with the 64-bit
    kernel.  Rather than deferring anything to pagetable_setup_start, just
    set up an initial pagetable in swapper_pg_dir early at startup, and
    create an additional 8MB of physical memory mappings.  This matches
    the native head_32.S mappings to a large degree, and allows the rest
    of the pagetable setup to continue without much Xen vs. native
    difference.
    Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
    Cc: Stephen Tweedie <sct@redhat.com>
    Cc: Eduardo Habkost <ehabkost@redhat.com>
    Cc: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    39dbc5bd
enlighten.c 37.9 KB