summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2017-10-17 18:44:18 +0200
committerMichael Tokarev2017-12-18 15:07:02 +0100
commitb1c439d1794a86536bf5f47d9823ff156a7d7433 (patch)
treedd077b81165ca8c9247dc9ada66825a01dcbbaac /include/hw/acpi
parenthw/acpi: ACPI_PM_* defines are not restricted to i386 arch (diff)
downloadqemu-b1c439d1794a86536bf5f47d9823ff156a7d7433.tar.gz
qemu-b1c439d1794a86536bf5f47d9823ff156a7d7433.tar.xz
qemu-b1c439d1794a86536bf5f47d9823ff156a7d7433.zip
hw/acpi/ich9: extract ACPI_PM_PROP_TCO_ENABLED from i386/pc
enable_tco is specific to i386/pc. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r--include/hw/acpi/ich9.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/acpi/ich9.h b/include/hw/acpi/ich9.h
index a352c94fde..59aeb06393 100644
--- a/include/hw/acpi/ich9.h
+++ b/include/hw/acpi/ich9.h
@@ -63,6 +63,8 @@ typedef struct ICH9LPCPMRegs {
TCOIORegs tco_regs;
} ICH9LPCPMRegs;
+#define ACPI_PM_PROP_TCO_ENABLED "enable_tco"
+
void ich9_pm_init(PCIDevice *lpc_pci, ICH9LPCPMRegs *pm,
bool smm_enabled,
qemu_irq sci_irq);