xen/arm: Support dtb /memreserve/ regions
authorIan Campbell <ian.campbell@citrix.com>
Thu, 26 Sep 2013 11:35:39 +0000 (12:35 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 26 Sep 2013 15:21:39 +0000 (16:21 +0100)
commit93483b04e29f959bff29b8e3f707f5c72d8c42c0
treea6287f47215b7880127e663844ab53b8aca4ff4b
parentac5a04eda393de164a03148bfa0ed75b0f68e97d
xen/arm: Support dtb /memreserve/ regions

This requires a mapping of the DTB during setup_mm. Previously this was in
the BOOT_MISC slot, which is clobbered by setup_pagetables. Split it out
into its own slot which can be preserved.

Also handle these regions as part of consider_modules() and when adding pages
to the heaps to ensure we do not locate any part of Xen or the heaps over
them.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/head.S
xen/arch/arm/mm.c
xen/arch/arm/setup.c
xen/common/device_tree.c
xen/include/asm-arm/config.h
xen/include/asm-arm/mm.h