mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hw/isa/isa-bus: Turn isa_build_aml() into qbus_build_aml()
Frees isa-bus.c from implicit ACPI dependency. While at it, resolve open coding of qbus_build_aml() in piix3 and ich9. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20230121151941.24120-3-shentey@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
1f1b30af75
commit
9c6c0aeacd
8 changed files with 18 additions and 24 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "qom/object.h"
|
||||
#include "hw/acpi/aml-build.h"
|
||||
#include "hw/qdev-core.h"
|
||||
|
||||
#define TYPE_ACPI_DEV_AML_IF "acpi-dev-aml-interface"
|
||||
typedef struct AcpiDevAmlIfClass AcpiDevAmlIfClass;
|
||||
|
@ -46,4 +47,6 @@ static inline void call_dev_aml_func(DeviceState *dev, Aml *scope)
|
|||
}
|
||||
}
|
||||
|
||||
void qbus_build_aml(BusState *bus, Aml *scope);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue