hw: acpi: Export and share the ARM RSDP build
commita46ce1c26d5c555b825e9486da422b1ab8f7faa1
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 17 Dec 2018 15:34:48 +0000 (17 16:34 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 19 Dec 2018 21:48:16 +0000 (19 16:48 -0500)
tree7b7e0a44102d014823ef2d48b66ebda7aa1579db
parentf10f38b87695f82ee332fb834e2dc38d579fb2f1
hw: acpi: Export and share the ARM RSDP build

Now that build_rsdp() supports building both legacy and current RSDP
tables, we can move it to a generic folder (hw/acpi) and have the i386
ACPI code reuse it in order to reduce code duplication.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
hw/acpi/aml-build.c
hw/arm/virt-acpi-build.c
hw/i386/acpi-build.c
include/hw/acpi/aml-build.h