diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-05-07 15:12:43 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-05-08 11:02:30 +0100 |
commit | f62544055cb72b0a2d65b5e7943f7615f6ffa7fd (patch) | |
tree | 9d4e2be834b621afcb73619f14ff521cabd517b1 /xen/arch/arm/setup.c | |
parent | 0d317248d432cf541854eef272c033bfd2515d9a (diff) | |
download | xen-f62544055cb72b0a2d65b5e7943f7615f6ffa7fd.tar.gz xen-f62544055cb72b0a2d65b5e7943f7615f6ffa7fd.tar.bz2 xen-f62544055cb72b0a2d65b5e7943f7615f6ffa7fd.zip |
xen/arm: compile and initialize vmap
Rename EARLY_VMAP_VIRT_END and EARLY_VMAP_VIRT_START to
VMAP_VIRT_END and VMAP_VIRT_START.
Defining VMAP_VIRT_START triggers the compilation of common/vmap.c.
Define PAGE_HYPERVISOR and MAP_SMALL_PAGES (unused on ARM, because we
only support 4K pages so as a matter of fact it is always set).
Implement map_pages_to_xen and destroy_xen_mappings.
Call vm_init from start_xen.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/arch/arm/setup.c')
-rw-r--r-- | xen/arch/arm/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index cfe3d9416f..59646d65ab 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -34,6 +34,7 @@ #include <xen/keyhandler.h> #include <xen/cpu.h> #include <xen/pfn.h> +#include <xen/vmap.h> #include <asm/page.h> #include <asm/current.h> #include <asm/setup.h> @@ -480,6 +481,8 @@ void __init start_xen(unsigned long boot_phys_offset, console_init_postirq(); + vm_init(); + do_presmp_initcalls(); for_each_present_cpu ( i ) |