diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-09-11 16:04:49 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-09-11 16:04:49 +0200 |
commit | 9badeb5dcd4deaebcab6d736943b8ffc2afdacb3 (patch) | |
tree | 80bd65a8aac04a148a196ff24e596dcc3d8901bf /xen/arch/x86/x86_64/mm.c | |
parent | a495404575be41b26d86464b1ecc33c4a0d4b90f (diff) | |
download | xen-9badeb5dcd4deaebcab6d736943b8ffc2afdacb3.tar.gz xen-9badeb5dcd4deaebcab6d736943b8ffc2afdacb3.tar.bz2 xen-9badeb5dcd4deaebcab6d736943b8ffc2afdacb3.zip |
x86-64: construct static, uniform parts of page tables at build time
... rather than at boot time, removing unnecessary redundancy between
EFI and legacy boot code.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/x86_64/mm.c')
-rw-r--r-- | xen/arch/x86/x86_64/mm.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c index 2c5530f008..1e001eaeaa 100644 --- a/xen/arch/x86/x86_64/mm.c +++ b/xen/arch/x86/x86_64/mm.c @@ -49,24 +49,6 @@ unsigned int __read_mostly pfn_pdx_hole_shift = 0; unsigned int __read_mostly m2p_compat_vstart = __HYPERVISOR_COMPAT_VIRT_START; -/* Top-level master (and idle-domain) page directory. */ -l4_pgentry_t __attribute__ ((__section__ (".bss.page_aligned"))) - idle_pg_table[L4_PAGETABLE_ENTRIES]; - -/* Enough page directories to map bottom 4GB of the memory map. */ -l3_pgentry_t __attribute__ ((__section__ (".bss.page_aligned"))) - l3_identmap[L3_PAGETABLE_ENTRIES]; - -/* Enough page directories to map the Xen text and static data. */ -l3_pgentry_t __attribute__ ((__section__ (".bss.page_aligned"))) - l3_xenmap[L3_PAGETABLE_ENTRIES]; -l2_pgentry_t __attribute__ ((__section__ (".bss.page_aligned"))) - l2_xenmap[L2_PAGETABLE_ENTRIES]; - -/* Enough page directories to map the early fixmap space. */ -l2_pgentry_t __attribute__ ((__section__ (".bss.page_aligned"))) - l2_fixmap[L2_PAGETABLE_ENTRIES]; - /* Enough page directories to map into the bottom 1GB. */ l3_pgentry_t __attribute__ ((__section__ (".bss.page_aligned"))) l3_bootmap[L3_PAGETABLE_ENTRIES]; |