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/include/asm-arm/config.h | |
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/include/asm-arm/config.h')
-rw-r--r-- | xen/include/asm-arm/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index e49aac132e..98a3a434bf 100644 --- a/xen/include/asm-arm/config.h +++ b/xen/include/asm-arm/config.h @@ -95,12 +95,12 @@ #define FIXMAP_ADDR(n) (mk_unsigned_long(0x00400000) + (n) * PAGE_SIZE) #define BOOT_MISC_VIRT_START mk_unsigned_long(0x00600000) #define FRAMETABLE_VIRT_START mk_unsigned_long(0x02000000) -#define EARLY_VMAP_VIRT_START mk_unsigned_long(0x10000000) +#define VMAP_VIRT_START mk_unsigned_long(0x10000000) #define XENHEAP_VIRT_START mk_unsigned_long(0x40000000) #define DOMHEAP_VIRT_START mk_unsigned_long(0x80000000) #define DOMHEAP_VIRT_END mk_unsigned_long(0xffffffff) -#define EARLY_VMAP_VIRT_END XENHEAP_VIRT_START +#define VMAP_VIRT_END XENHEAP_VIRT_START #define HYPERVISOR_VIRT_START XEN_VIRT_START #define DOMHEAP_ENTRIES 1024 /* 1024 2MB mapping slots */ |