]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/acpi: Rename and move build_x86_acpi_pci_hotplug to pcihp
authorEric Auger <eric.auger@redhat.com>
Mon, 14 Jul 2025 08:04:46 +0000 (10:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Jul 2025 06:56:40 +0000 (02:56 -0400)
commitc242101c3c92410b7f5196f9d04a2844867be682
treeea3c612520fbff612451fa2d39a6e81709d21215
parent25e84c02e7aafbcb7a677569e9a4198e97cc38b8
hw/acpi: Rename and move build_x86_acpi_pci_hotplug to pcihp

We plan to reuse build_x86_acpi_pci_hotplug() implementation
for ARM so let's move the code to generic pcihp.

Associated static aml_pci_pdsm() helper is also moved along.
build_x86_acpi_pci_hotplug is renamed into build_acpi_pci_hotplug().

No code change intended.

Also fix the reference to acpi_pci_hotplug.rst documentation

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-3-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
hw/i386/acpi-build.h
include/hw/acpi/pcihp.h