diff options
| author | Eric Auger <eric.auger@redhat.com> | 2025-07-14 10:04:57 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-15 02:56:40 -0400 |
| commit | d962f199c7e8625c91e8d1cc54a0323180e6f3e1 (patch) | |
| tree | 305ce2310944b032110035e6ade207c856bd2473 /include/hw/acpi/pcihp.h | |
| parent | b412e0557c03b9aac946133a443a76aa86c3f8b4 (diff) | |
| download | focaccia-qemu-d962f199c7e8625c91e8d1cc54a0323180e6f3e1.tar.gz focaccia-qemu-d962f199c7e8625c91e8d1cc54a0323180e6f3e1.zip | |
hw/i386/acpi-build: Move build_append_notification_callback to pcihp
We plan to reuse build_append_notification_callback() on ARM so let's move it to pcihp.c. 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-14-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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/pcihp.h b/include/hw/acpi/pcihp.h index 253ac6e483..f4fd44cb32 100644 --- a/include/hw/acpi/pcihp.h +++ b/include/hw/acpi/pcihp.h @@ -78,6 +78,7 @@ void build_acpi_pci_hotplug(Aml *table, AmlRegionSpace rs, uint64_t pcihp_addr); void build_append_pci_dsm_func0_common(Aml *ctx, Aml *retvar); 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); /* Called on reset */ void acpi_pcihp_reset(AcpiPciHpState *s); |