acpi: add ISADeviceClass->build_aml()
commita53e581ee818d44bea9dcd2c543c2d08a5934fae
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 29 Apr 2020 13:59:53 +0000 (29 15:59 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 May 2020 14:25:02 +0000 (4 10:25 -0400)
tree93af0d7b5711fad1978bfd40fa5f5c01c3368ed5
parent88b3648f557855f7da85b5d32f1a08c5a66c2a01
acpi: add ISADeviceClass->build_aml()

Also add isa_aml_build() function which walks all isa devices.
This allows to move aml builder code to isa devices.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200429140003.7336-6-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/isa/isa-bus.c
include/hw/isa/isa.h