]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/i386/acpi-build: Turn build_q35_osc_method into a generic method
authorEric Auger <eric.auger@redhat.com>
Mon, 14 Jul 2025 08:04:52 +0000 (10:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Jul 2025 06:56:40 +0000 (02:56 -0400)
commitdc925e4b1d19dcce93107d1d20f7232244f48924
treecd63f8fb8c8ac77dd2d590abb2db6eb80a862283
parent1136309df5e3de7d031a137221318f48784cca5d
hw/i386/acpi-build: Turn build_q35_osc_method into a generic method

GPEX acpi_dsdt_add_pci_osc() does basically the same as
build_q35_osc_method().

Rename build_q35_osc_method() into build_pci_host_bridge_osc_method()
and move it into hw/acpi/pci.c. In a subsequent patch we will
use this later in place of acpi_dsdt_add_pci_osc().

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