hw: arm: Support both legacy and current RSDP build
commitf10f38b87695f82ee332fb834e2dc38d579fb2f1
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 17 Dec 2018 10:48:36 +0000 (17 11:48 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 19 Dec 2018 21:48:16 +0000 (19 16:48 -0500)
tree51f908314562f95a0b7fae6c3074cb4753d4e27b
parent77321eaf15aacdd11cd6dd3efef0c6dd26629e7f
hw: arm: Support both legacy and current RSDP build

We add the ability to build legacy or current RSDP tables, based on the
AcpiRsdpData revision field passed to build_rsdp().
Although arm/virt only uses RSDP v2, adding that capability to
build_rsdp will allow us to share the RSDP build code between ARM and x86.

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