aboutsummaryrefslogtreecommitdiffstats
path: root/xen
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2013-09-26 12:35:40 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-09-26 16:21:47 +0100
commit4bb8f3358e0996e9208fe456be244410c408e6fa (patch)
tree1e6e46e4238ae91a6bbfea411aad3338a8524746 /xen
parent93483b04e29f959bff29b8e3f707f5c72d8c42c0 (diff)
downloadxen-4bb8f3358e0996e9208fe456be244410c408e6fa.tar.gz
xen-4bb8f3358e0996e9208fe456be244410c408e6fa.tar.bz2
xen-4bb8f3358e0996e9208fe456be244410c408e6fa.zip
xen/arm: rename boot misc region to boot reloc now it has a single purpose
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Julien Grall <julien.grall@linaro.org> Acked-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'xen')
-rw-r--r--xen/arch/arm/mm.c4
-rw-r--r--xen/include/asm-arm/config.h7
2 files changed, 4 insertions, 7 deletions
diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c
index 5cb6dac3a5..89d9f57d11 100644
--- a/xen/arch/arm/mm.c
+++ b/xen/arch/arm/mm.c
@@ -128,7 +128,7 @@ static inline void check_memory_layout_alignment_constraints(void) {
/* 2MB aligned regions */
BUILD_BUG_ON(XEN_VIRT_START & ~SECOND_MASK);
BUILD_BUG_ON(FIXMAP_ADDR(0) & ~SECOND_MASK);
- BUILD_BUG_ON(BOOT_MISC_VIRT_START & ~SECOND_MASK);
+ BUILD_BUG_ON(BOOT_RELOC_VIRT_START & ~SECOND_MASK);
/* 1GB aligned regions */
BUILD_BUG_ON(XENHEAP_VIRT_START & ~FIRST_MASK);
#ifdef CONFIG_DOMAIN_PAGE
@@ -377,7 +377,7 @@ void __init setup_pagetables(unsigned long boot_phys_offset, paddr_t xen_paddr)
int i;
/* Map the destination in the boot misc area. */
- dest_va = BOOT_MISC_VIRT_START;
+ dest_va = BOOT_RELOC_VIRT_START;
pte = mfn_to_xen_entry(xen_paddr >> PAGE_SHIFT);
write_pte(xen_second + second_table_offset(dest_va), pte);
flush_xen_data_tlb_range_va(dest_va, SECOND_SIZE);
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index efeb9525df..9e395c2e65 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -81,10 +81,7 @@
* 2M - 4M Xen text, data, bss
* 4M - 6M Fixmap: special-purpose 4K mapping slots
* 6M - 8M Early boot mapping of FDT
- * 8M - 10M Early boot misc (see below)
- *
- * The early boot misc area is used:
- * - in setup_pagetables() when relocating Xen.
+ * 8M - 10M Early relocation address (used when relocating Xen)
*
* ARM32 layout:
* 0 - 8M <COMMON>
@@ -117,7 +114,7 @@
#define XEN_VIRT_START _AT(vaddr_t,0x00200000)
#define FIXMAP_ADDR(n) (_AT(vaddr_t,0x00400000) + (n) * PAGE_SIZE)
#define BOOT_FDT_VIRT_START _AT(vaddr_t,0x00600000)
-#define BOOT_MISC_VIRT_START _AT(vaddr_t,0x00800000)
+#define BOOT_RELOC_VIRT_START _AT(vaddr_t,0x00800000)
#define HYPERVISOR_VIRT_START XEN_VIRT_START