]> git.ipfire.org Git - thirdparty/qemu.git/commit
acpi: applesmc: use AcpiDevAmlIfClass:build_dev_aml to provide device's AML
authorIgor Mammedov <imammedo@redhat.com>
Wed, 8 Jun 2022 13:53:29 +0000 (09:53 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Jun 2022 23:32:49 +0000 (19:32 -0400)
commit1d7ea915003a2064dc542ffee8d02104a2dee728
treec41379f119e199bd7cd925a8eac77c69c0c887ed
parentcde55744e9bcaefe1fbce6194a21bb3b7b9c2ae7
acpi: applesmc: use AcpiDevAmlIfClass:build_dev_aml to provide device's AML

  .. and clean up not longer needed conditionals in DSTD build
code. applesmc AML will be fetched and included when ISA bridge
will build its own AML code (incl. attached devices).

Expected AML change:
the device under separate _SB.PCI0.ISA scope is moved directly
under Device(ISA) node.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20220608135340.3304695-25-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/misc/applesmc.c
include/hw/isa/isa.h