diff options
author | Philippe Mathieu-Daudé | 2017-10-17 18:44:18 +0200 |
---|---|---|
committer | Michael Tokarev | 2017-12-18 15:07:02 +0100 |
commit | b1c439d1794a86536bf5f47d9823ff156a7d7433 (patch) | |
tree | dd077b81165ca8c9247dc9ada66825a01dcbbaac /include/hw/acpi | |
parent | hw/acpi: ACPI_PM_* defines are not restricted to i386 arch (diff) | |
download | qemu-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.h | 2 |
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); |