]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/i386/acpi-build: Move build_append_pci_bus_devices/pcihp_slots to pcihp
authorEric Auger <eric.auger@redhat.com>
Mon, 14 Jul 2025 08:04:58 +0000 (10:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Jul 2025 06:56:40 +0000 (02:56 -0400)
commite87ab64e8f614ae8702209dd801ac08ca5897ff1
tree09e12f2fbd3598968b417adf4868fe4c2f4cd5ea
parentd962f199c7e8625c91e8d1cc54a0323180e6f3e1
hw/i386/acpi-build: Move build_append_pci_bus_devices/pcihp_slots to pcihp

We intend to reuse build_append_pci_bus_devices and build_append_pcihp_slots
on ARM. So let's move them to hw/acpi/pcihp.c as well as all static
helpers they use.

No functional change intended.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Message-Id: <20250714080639.2525563-15-eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/pcihp.c
hw/i386/acpi-build.c
include/hw/acpi/pci.h
include/hw/acpi/pcihp.h