]> git.proxmox.com Git - mirror_qemu.git/commit - hw/acpi/core.c
acpi: extend ACPI interface to provide send_event hook
authorIgor Mammedov <imammedo@redhat.com>
Tue, 31 May 2016 09:57:57 +0000 (11:57 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Jun 2016 12:36:54 +0000 (15:36 +0300)
commiteaf23bf794c749c621a5605c1076a16e3d81e12b
treeb26aa5b26af67ebb663013d04a50feef28eec911
parent6d42eefad8ead3dd8a1fc887efb9a017a35319fc
acpi: extend ACPI interface to provide send_event hook

send_event() hook will allow to send ACPI event in
a target specific way (GPE or GPIO based impl.)
it will also simplify proxy wrappers in piix4pm/ich9
that access ACPI regs and SCI which are part of
piix4pm/lcp_ich9 devices and call acpi_foo() API directly.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/acpi/acpi_interface.c
hw/acpi/core.c
hw/acpi/piix4.c
hw/isa/lpc_ich9.c
include/hw/acpi/acpi.h
include/hw/acpi/acpi_dev_interface.h