diff options
| author | Eric Auger <eric.auger@redhat.com> | 2025-07-14 10:04:58 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-15 02:56:40 -0400 |
| commit | e87ab64e8f614ae8702209dd801ac08ca5897ff1 (patch) | |
| tree | 09e12f2fbd3598968b417adf4868fe4c2f4cd5ea /include/hw/acpi/pcihp.h | |
| parent | d962f199c7e8625c91e8d1cc54a0323180e6f3e1 (diff) | |
| download | focaccia-qemu-e87ab64e8f614ae8702209dd801ac08ca5897ff1.tar.gz focaccia-qemu-e87ab64e8f614ae8702209dd801ac08ca5897ff1.zip | |
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>
Diffstat (limited to 'include/hw/acpi/pcihp.h')
| -rw-r--r-- | include/hw/acpi/pcihp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/acpi/pcihp.h b/include/hw/acpi/pcihp.h index f4fd44cb32..5506a58862 100644 --- a/include/hw/acpi/pcihp.h +++ b/include/hw/acpi/pcihp.h @@ -80,6 +80,8 @@ void build_append_pcihp_resources(Aml *table, uint64_t io_addr, uint64_t io_len); bool build_append_notification_callback(Aml *parent_scope, const PCIBus *bus); +void build_append_pci_bus_devices(Aml *parent_scope, PCIBus *bus); + /* Called on reset */ void acpi_pcihp_reset(AcpiPciHpState *s); |