aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-09-15 14:08:54 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-09-17 14:16:19 +0200
commit7bf2567c12320731b115af83f4991bbc9203df70 (patch)
treea64f7e16a7ff11483fa087308d43ced7dab8251d /include/hw
parent2025e97dc55107e4f0d2b7553d7eb325bc1f437d (diff)
downloadqemu-7bf2567c12320731b115af83f4991bbc9203df70.zip
qemu-7bf2567c12320731b115af83f4991bbc9203df70.tar.gz
qemu-7bf2567c12320731b115af83f4991bbc9203df70.tar.bz2
acpi: move acpi_dsdt_add_power_button() to ged
Allow reuse for microvm. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-id: 20200915120909.20838-7-kraxel@redhat.com
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/acpi/generic_event_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/generic_event_device.h b/include/hw/acpi/generic_event_device.h
index 2411516..ac921e9 100644
--- a/include/hw/acpi/generic_event_device.h
+++ b/include/hw/acpi/generic_event_device.h
@@ -120,5 +120,6 @@ struct AcpiGedState {
void build_ged_aml(Aml *table, const char* name, HotplugHandler *hotplug_dev,
uint32_t ged_irq, AmlRegionSpace rs, hwaddr ged_base);
+void acpi_dsdt_add_power_button(Aml *scope);
#endif