hw/arm/virt-acpi-build: Basic framework for building ACPI tables on ARM
commitf5d8c8cd792b3712f85a1f9a3a9a719015691975
authorShannon Zhao <shannon.zhao@linaro.org>
Fri, 29 May 2015 10:28:54 +0000 (29 11:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 May 2015 10:28:54 +0000 (29 11:28 +0100)
treeb169e0c6356744fc66e5dd07582bd1d68ecfcae0
parent6a1f001be3ea7478cac803d03149cfcfc1fa2094
hw/arm/virt-acpi-build: Basic framework for building ACPI tables on ARM

Introduce a preliminary framework in virt-acpi-build.c with the main
ACPI build functions. It exposes the generated ACPI contents to
guest over fw_cfg.

The required ACPI v5.1 tables for ARM are:
- RSDP: Initial table that points to XSDT
- RSDT: Points to FADT GTDT MADT tables
- FADT: Generic information about the machine
- GTDT: Generic timer description table
- MADT: Multiple APIC description table
- DSDT: Holds all information about system devices/peripherals, pointed by FADT

Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 1432522520-8068-5-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/Makefile.objs
hw/arm/virt-acpi-build.c [new file with mode: 0644]
include/hw/arm/virt-acpi-build.h [new file with mode: 0644]
qemu-options.hx
trace-events