]> git.proxmox.com Git - mirror_qemu.git/commit
acpi: move build_fadt() from i386 specific to generic ACPI source
authorIgor Mammedov <imammedo@redhat.com>
Wed, 28 Feb 2018 14:23:53 +0000 (15:23 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Mar 2018 21:09:50 +0000 (23:09 +0200)
commit8612f8bd9fb667c62e9a56c67ab2e3af2798dd9c
treef017e3a7c5614603694146003447b2099b183d4d
parent5d7a334f7c40dcb6aab3e4496ac826e813ccdb07
acpi: move build_fadt() from i386 specific to generic ACPI source

It will be extended and reused by follow up patch for ARM target.

PS:
Since it's generic function now, don't patch FIRMWARE_CTRL, DSDT
fields if they don't point to tables since platform might not
provide them and use X_ variants instead if applicable.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/aml-build.c
hw/arm/virt-acpi-build.c
hw/i386/acpi-build.c
include/hw/acpi/aml-build.h