diff options
author | Julien Grall <julien.grall@linaro.org> | 2013-05-08 23:33:23 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-05-13 11:59:56 +0100 |
commit | 4e6714686495f5446c85228aaa6ffe525029d4e3 (patch) | |
tree | b71d213e116c9b76928d540a55bbebd84b296336 /xen/arch/arm/setup.c | |
parent | 73a6a932d6e927c4608a8726987a3e89545d7bee (diff) | |
download | xen-4e6714686495f5446c85228aaa6ffe525029d4e3.tar.gz xen-4e6714686495f5446c85228aaa6ffe525029d4e3.tar.bz2 xen-4e6714686495f5446c85228aaa6ffe525029d4e3.zip |
xen/arm: Introduce ioremap_attr, ioremap_cache, ioremap_nocache, ioremap_wc
Map physical range in virtual memory with a specific mapping attribute.
Also add new mapping attributes for ARM: PAGE_HYPERVISOR_NOCACHE
and PAGE_HYPERVISOR_WC.
This function replaces early_ioremap which is only able to deal with 2Mb
aligned mapping. Therefore, vmap initialization has been moved earlier.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/arch/arm/setup.c')
-rw-r--r-- | xen/arch/arm/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 29447effca..a667db4b4c 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -429,6 +429,8 @@ void __init start_xen(unsigned long boot_phys_offset, setup_pagetables(boot_phys_offset, get_xen_paddr()); setup_mm(fdt_paddr, fdt_size); + vm_init(); + #ifdef EARLY_UART_ADDRESS /* TODO Need to get device tree or command line for UART address */ pl011_init(0, FIXMAP_ADDR(FIXMAP_CONSOLE)); @@ -483,8 +485,6 @@ void __init start_xen(unsigned long boot_phys_offset, console_init_postirq(); - vm_init(); - do_presmp_initcalls(); for_each_present_cpu ( i ) |