summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-07 22:14:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-07 22:14:44 +0000
commitc22270921beaf3854a0c743c0f3b743699c7d3e6 (patch)
treeb36c8e720ea83847bf0514377a3d211f01f0d51f /sys
parente38b8ae246af4209b128f26467ba533b8ec13cd2 (diff)
APM_USER_HIBERNATE_REQ here too.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/loongson/include/apmvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/apmvar.h b/sys/arch/loongson/include/apmvar.h
index 8ae70c55774..2d3bba93137 100644
--- a/sys/arch/loongson/include/apmvar.h
+++ b/sys/arch/loongson/include/apmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmvar.h,v 1.3 2012/03/26 16:21:34 deraadt Exp $ */
+/* $OpenBSD: apmvar.h,v 1.4 2015/02/07 22:14:43 miod Exp $ */
/*
* Copyright (c) 2001 Alexander Guy
@@ -67,6 +67,7 @@
#define APM_USER_SUSPEND_REQ 0x000A
#define APM_SYS_STANDBY_RESUME 0x000B
#define APM_CAPABILITY_CHANGE 0x000C /* apm v1.2 */
+#define APM_USER_HIBERNATE_REQ 0x000D
#define APM_EVENT_MASK 0xffff
#define APM_EVENT_COMPOSE(t,i) ((((i) & 0x7fff) << 16)|((t) & APM_EVENT_MASK))