From: Paolo Bonzini Date: Thu, 27 Nov 2025 07:37:49 +0000 (+0100) Subject: include: move hw/platform-bus.h to hw/core/ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c094dd45b725c407b8628cedc8a30924b0f19d2c;p=thirdparty%2Fqemu.git include: move hw/platform-bus.h to hw/core/ Signed-off-by: Paolo Bonzini --- diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c index 200e2a1da7..03b4342574 100644 --- a/hw/arm/virt-acpi-build.c +++ b/hw/arm/virt-acpi-build.c @@ -54,7 +54,7 @@ #include "hw/arm/virt.h" #include "hw/intc/arm_gicv3_its_common.h" #include "hw/mem/nvdimm.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "system/numa.h" #include "system/reset.h" #include "system/tpm.h" diff --git a/hw/arm/virt.c b/hw/arm/virt.c index c005eb914c..0d2652e6db 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -62,7 +62,7 @@ #include "hw/pci-bridge/pci_expander_bridge.h" #include "hw/virtio/virtio-pci.h" #include "hw/core/sysbus-fdt.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "hw/qdev-properties.h" #include "hw/arm/fdt.h" #include "hw/intc/arm_gic.h" diff --git a/hw/core/platform-bus.c b/hw/core/platform-bus.c index 6950063de4..4b6cc5f649 100644 --- a/hw/core/platform-bus.c +++ b/hw/core/platform-bus.c @@ -20,7 +20,7 @@ */ #include "qemu/osdep.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "hw/qdev-properties.h" #include "qapi/error.h" #include "qemu/error-report.h" diff --git a/hw/core/sysbus-fdt.c b/hw/core/sysbus-fdt.c index 59f1d17de1..89d0c46445 100644 --- a/hw/core/sysbus-fdt.c +++ b/hw/core/sysbus-fdt.c @@ -32,7 +32,7 @@ #include "system/device_tree.h" #include "system/tpm.h" #include "hw/arm/smmuv3.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "hw/display/ramfb.h" #include "hw/uefi/var-service-api.h" #include "hw/arm/fdt.h" diff --git a/hw/loongarch/virt-acpi-build.c b/hw/loongarch/virt-acpi-build.c index 3694c9827f..8ff9ebdcd9 100644 --- a/hw/loongarch/virt-acpi-build.c +++ b/hw/loongarch/virt-acpi-build.c @@ -32,7 +32,7 @@ #include "hw/pci-host/gpex.h" #include "system/system.h" #include "system/tpm.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "hw/acpi/aml-build.h" #include "hw/acpi/hmat.h" diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c index ea53941aeb..6efa15da47 100644 --- a/hw/loongarch/virt.c +++ b/hw/loongarch/virt.c @@ -37,7 +37,7 @@ #include "qapi/qapi-visit-common.h" #include "hw/acpi/generic_event_device.h" #include "hw/mem/nvdimm.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "hw/display/ramfb.h" #include "hw/uefi/var-service-api.h" #include "hw/mem/pc-dimm.h" diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c index 769f18023d..7c65757e21 100644 --- a/hw/ppc/e500.c +++ b/hw/ppc/e500.c @@ -46,7 +46,7 @@ #include "qemu/option.h" #include "hw/pci-host/ppce500.h" #include "qemu/error-report.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "hw/net/fsl_etsec/etsec.h" #include "hw/i2c/i2c.h" #include "hw/core/irq.h" diff --git a/hw/ppc/e500.h b/hw/ppc/e500.h index cda539bda1..11f8ae5317 100644 --- a/hw/ppc/e500.h +++ b/hw/ppc/e500.h @@ -2,7 +2,7 @@ #define PPCE500_H #include "hw/core/boards.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "qom/object.h" #define PLATFORM_CLK_FREQ_HZ (400 * 1000 * 1000) diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index 0505bffa44..9cb4f16432 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -43,7 +43,7 @@ #include "hw/intc/riscv_aplic.h" #include "hw/intc/sifive_plic.h" #include "hw/misc/sifive_test.h" -#include "hw/platform-bus.h" +#include "hw/core/platform-bus.h" #include "chardev/char.h" #include "system/device_tree.h" #include "system/system.h" diff --git a/include/hw/platform-bus.h b/include/hw/core/platform-bus.h similarity index 100% rename from include/hw/platform-bus.h rename to include/hw/core/platform-bus.h