summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpireg.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2009-02-19 21:02:06 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2009-02-19 21:02:06 +0000
commit748c385494ee5d641b7e648df28568538e41467c (patch)
tree9b3648d5d080c29915d0f71b7a8d9c490046223d /sys/dev/acpi/acpireg.h
parent6fb68817a3957ab44390ea949e41e4b949d653a7 (diff)
suspend/resume bits so that we can develop this in tree. This is disabled.
code from mlarkin and me help from art,toby,jordan and several others ok jordan, go for it deraadt
Diffstat (limited to 'sys/dev/acpi/acpireg.h')
-rw-r--r--sys/dev/acpi/acpireg.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpireg.h b/sys/dev/acpi/acpireg.h
index 3a32b89d121..1193c4428f2 100644
--- a/sys/dev/acpi/acpireg.h
+++ b/sys/dev/acpi/acpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpireg.h,v 1.15 2008/06/24 08:24:57 sobrado Exp $ */
+/* $OpenBSD: acpireg.h,v 1.16 2009/02/19 21:02:05 marco Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
@@ -391,7 +391,7 @@ struct acpi_facs {
#define FACS_LOCK_OWNED 0x00000002
u_int32_t flags;
#define FACS_S4BIOS_F 0x00000001 /* S4BIOS_REQ supported */
- struct acpi_gas x_wakeup_vector;
+ uint64_t x_wakeup_vector;
u_int8_t version;
u_int8_t reserved[31];
} __packed;
@@ -443,6 +443,13 @@ struct acpi_facs {
#define ACPI_PM1_SLP_EN 0x2000
/*
+ * PM2 Control Registers
+ */
+#define ACPI_PM2_CONTROL 0x06
+#define ACPI_PM2_ARB_DIS 0x0001
+
+
+/*
* Sleeping States
*/
#define ACPI_STATE_S0 0