[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 12/14] libxl/arm: Add ACPI module
From: Shannon Zhao <shannon.zhao@xxxxxxxxxx> Add the ARM Multiboot module for ACPI, so UEFI can get the base address of ACPI tables from it. Signed-off-by: Shannon Zhao <shannon.zhao@xxxxxxxxxx> --- tools/libxl/libxl_arm.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tools/libxl/libxl_arm.c b/tools/libxl/libxl_arm.c index 13259f8..e7cb578 100644 --- a/tools/libxl/libxl_arm.c +++ b/tools/libxl/libxl_arm.c @@ -285,6 +285,26 @@ static int make_chosen_node(libxl__gc *gc, void *fdt, bool ramdisk, if (res) return res; } + res = fdt_begin_node(fdt, "modules"); + if (res) return res; + + res = fdt_begin_node(fdt, "module@0"); + if (res) return res; + + res = fdt_property_compat(gc, fdt, 2, "xen,linux-acpi", + "xen,multiboot-module"); + if (res) return res; + + res = fdt_property_regs(gc, fdt, ROOT_ADDRESS_CELLS, ROOT_SIZE_CELLS, + 1, 0, 0); + if (res) return res; + + res = fdt_end_node(fdt); + if (res) return res; + + res = fdt_end_node(fdt); + if (res) return res; + res = fdt_end_node(fdt); if (res) return res; -- 2.0.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |