xen/arm: Reserve FDT via early module mechanism
authorIan Campbell <ian.campbell@citrix.com>
Thu, 26 Sep 2013 11:35:36 +0000 (12:35 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 26 Sep 2013 15:21:27 +0000 (16:21 +0100)
commitc883eed77ae2bec5aca2f678bfd7fe4642fa6d37
tree1ac716a10121f9936d37b7529241f4b03b9425ac
parent1fbb3b146c7b8a4e9ff4d29234931c57879b4ca8
xen/arm: Reserve FDT via early module mechanism

This will stop us putting any heaps or relocating Xen itself over the FDT.

The devicetree will be copied to allocated memory in setup_mm and the
original copy will be freed by discard_initial_modules.

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