]> xenbits.xensource.com Git - xen.git/commit
libxl/arm: Generate static ACPI DSDT table
authorShannon Zhao <shannon.zhao@linaro.org>
Thu, 29 Sep 2016 01:18:49 +0000 (18:18 -0700)
committerWei Liu <wei.liu2@citrix.com>
Fri, 30 Sep 2016 10:47:26 +0000 (11:47 +0100)
commitc4ac10779901ee1cd153d09e3105d4b9020f0e85
tree91dbdf5cb091ed225b106909b5a686ba345602ae
parenta2d88dc2159824b25873c1170a0c35682fbf2773
libxl/arm: Generate static ACPI DSDT table

It uses static DSDT table like the way x86 uses. Currently the DSDT
table only contains processor device objects and it generates the
maximal objects which so far is 128.

While the GUEST_MAX_VCPUS is defined under __XEN__ or __XEN_TOOLS__, it
needs to add -D__XEN_TOOLS__ to compile mk_dsdt.c.

Also only check iasl for aarch64 in configure since ACPI on ARM32 is not
supported.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
[ wei: run autogen.sh and fix compilation on x86 ]
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
tools/configure
tools/configure.ac
tools/libacpi/Makefile
tools/libacpi/mk_dsdt.c
tools/libxl/Makefile
tools/libxl/libxl_arm_acpi.c
xen/arch/arm/domain.c
xen/include/public/arch-arm.h