summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2017-10-17 18:44:17 +0200
committerMichael Tokarev2017-12-18 15:07:02 +0100
commit9dc047ce8f9e787bb9a9c5892c38c2424a0ee65f (patch)
tree97c057ad1827848ed5e9c4b0af3498126d2efe80 /include/hw/acpi
parenthw/timer/mc146818: rename rtc_init() -> mc146818_rtc_init() (diff)
downloadqemu-9dc047ce8f9e787bb9a9c5892c38c2424a0ee65f.tar.gz
qemu-9dc047ce8f9e787bb9a9c5892c38c2424a0ee65f.tar.xz
qemu-9dc047ce8f9e787bb9a9c5892c38c2424a0ee65f.zip
hw/acpi: ACPI_PM_* defines are not restricted to i386 arch
this allows to remove the old i386/pc dependency on acpi/core. 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/acpi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/hw/acpi/acpi.h b/include/hw/acpi/acpi.h
index 7b3d93cf0d..39ff512129 100644
--- a/include/hw/acpi/acpi.h
+++ b/include/hw/acpi/acpi.h
@@ -39,6 +39,17 @@
#define ACPI_PM2_REGISTER_WIDTH 8
#define ACPI_PM_TIMER_WIDTH 32
+/* PC-style peripherals (also used by other machines). */
+#define ACPI_PM_PROP_S3_DISABLED "disable_s3"
+#define ACPI_PM_PROP_S4_DISABLED "disable_s4"
+#define ACPI_PM_PROP_S4_VAL "s4_val"
+#define ACPI_PM_PROP_SCI_INT "sci_int"
+#define ACPI_PM_PROP_ACPI_ENABLE_CMD "acpi_enable_cmd"
+#define ACPI_PM_PROP_ACPI_DISABLE_CMD "acpi_disable_cmd"
+#define ACPI_PM_PROP_PM_IO_BASE "pm_io_base"
+#define ACPI_PM_PROP_GPE0_BLK "gpe0_blk"
+#define ACPI_PM_PROP_GPE0_BLK_LEN "gpe0_blk_len"
+
/* PM Timer ticks per second (HZ) */
#define PM_TIMER_FREQUENCY 3579545