xen/arm: introduce allocate_memory
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 13 Nov 2018 17:00:25 +0000 (09:00 -0800)
committerJulien Grall <julien.grall@arm.com>
Wed, 14 Nov 2018 19:34:47 +0000 (19:34 +0000)
commitf2931b4233ec38e9f8d2b3ec6d86a9c7f9ebedc2
tree247717d462ea02ba454e58718c16b80b6b9ccfa3
parentbfeb4a56485b972faaa70e43d7ff945d14fb07fc
xen/arm: introduce allocate_memory

Introduce an allocate_memory function able to allocate memory for DomUs
and map it at the right guest addresses, according to the guest memory
map: GUEST_RAM0_BASE and GUEST_RAM1_BASE.

This is under #if 0 as not used for now.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
xen/arch/arm/domain_build.c