tools: arm: rearrange guest physical address space to increase max RAM
authorIan Campbell <ian.campbell@citrix.com>
Thu, 22 May 2014 09:46:39 +0000 (10:46 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 2 Jun 2014 13:56:20 +0000 (14:56 +0100)
commit2d72d29bd432f800c8455b9eb16b68dc8f99ce9c
tree72230ca67dd8685483197056afbd8f23bba237d1
parent180596a1ebac570d68b0ed393139c0d4a3dc991b
tools: arm: rearrange guest physical address space to increase max RAM

By switching things around we can manage to expose up to 3GB of RAM to guests.

I deliberately didn't place the RAM at address 0 to avoid coming to rely on
this, so the various peripherals, MMIO and magic pages etc all live in the
lower 1GB leaving the upper 3GB available for RAM.

It would likely have been possible to reduce the space used by the peripherals
etc and allow for 3.5 or 3.75GB but I decided to keep things simple and will
handle >3GB memory in a subsequent patch.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen/include/public/arch-arm.h