aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/config.h
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2012-02-13 14:24:49 +0000
committerDavid Vrabel <david.vrabel@citrix.com>2012-02-13 14:24:49 +0000
commit12eb272cb80a617070ae04ac58c3b54077f1fbc9 (patch)
treedb2d515cca78ad75d931fb354ba35278d1af306b /xen/include/asm-arm/config.h
parent1a308e6a951208e02621b8e7c4be2cd582317a9f (diff)
downloadxen-12eb272cb80a617070ae04ac58c3b54077f1fbc9.tar.gz
xen-12eb272cb80a617070ae04ac58c3b54077f1fbc9.tar.bz2
xen-12eb272cb80a617070ae04ac58c3b54077f1fbc9.zip
arm: map device tree blob in initial page tables
Add a mapping for the device tree blob in the initial page tables. This will allow the DTB to be parsed for memory information prior to setting up the real page tables. It is mapped into the first L2 slot after the fixmap. When this slot is reused in setup_pagetables(), flush the TLB. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Acked-by: Tim Deegan <tim@xen.org> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-arm/config.h')
-rw-r--r--xen/include/asm-arm/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index 9294f8f71f..c2ab0a21a2 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -55,15 +55,21 @@
* 0 - 2M Unmapped
* 2M - 4M Xen text, data, bss
* 4M - 6M Fixmap: special-purpose 4K mapping slots
+ * 6M - 8M Early boot misc (see below)
*
* 32M - 128M Frametable: 24 bytes per page for 16GB of RAM
*
* 1G - 2G Xenheap: always-mapped memory
* 2G - 4G Domheap: on-demand-mapped
+ *
+ * The early boot misc area is used:
+ * - in head.S for the DTB for device_tree_early_init().
+ * - in setup_pagetables() when relocating Xen.
*/
#define XEN_VIRT_START 0x00200000
#define FIXMAP_ADDR(n) (0x00400000 + (n) * PAGE_SIZE)
+#define BOOT_MISC_VIRT_START 0x00600000
#define FRAMETABLE_VIRT_START 0x02000000
#define XENHEAP_VIRT_START 0x40000000
#define DOMHEAP_VIRT_START 0x80000000