arm/acpi: Estimate memory required for acpi/efi tables
authorShannon Zhao <shannon.zhao@linaro.org>
Wed, 30 Mar 2016 10:10:00 +0000 (12:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 30 Mar 2016 14:57:08 +0000 (16:57 +0200)
commit526a9e31c04d363a3c68e9c706b04416feb8d5da
tree4b6a1e5674c73852a4e49e795cb8477c4e733723
parent4965556a8a449c9eef629971f45e859915d89e25
arm/acpi: Estimate memory required for acpi/efi tables

Estimate the memory required for loading acpi/efi tables in Dom0. Make
the length of each table aligned with 64bit. Alloc the pages to store
the new created EFI and ACPI tables and free these pages when
destroying domain.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/domain.c
xen/arch/arm/domain_build.c
xen/arch/arm/efi/Makefile
xen/arch/arm/efi/efi-boot.h
xen/arch/arm/efi/efi-dom0.c [new file with mode: 0644]
xen/arch/arm/efi/efi-dom0.h [new file with mode: 0644]
xen/include/asm-arm/setup.h