summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-03-26 16:21:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-03-26 16:21:35 +0000
commitaf5b48bacedc23f697101a1b01e8f0f35fbdb277 (patch)
treec9166146cf2772be96d59765d264f72ca8985917 /sys/arch/amd64/include
parent4ac206d01035fca15c436fdc6ace3f9ba322ddc0 (diff)
Add APM_IOC_HIBERNATE
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/apmvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/apmvar.h b/sys/arch/amd64/include/apmvar.h
index 1a3925ec0b9..c4bf82d8ec1 100644
--- a/sys/arch/amd64/include/apmvar.h
+++ b/sys/arch/amd64/include/apmvar.h
@@ -1,5 +1,5 @@
/* XXX - DSR */
-/* $OpenBSD: apmvar.h,v 1.3 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: apmvar.h,v 1.4 2012/03/26 16:21:34 deraadt Exp $ */
/*
* Copyright (c) 1995 John T. Kohl
@@ -290,6 +290,7 @@ struct apm_ctl {
if the percentage changes */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
+#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#ifdef _KERNEL
extern void apm_cpu_busy(void);