From af5b48bacedc23f697101a1b01e8f0f35fbdb277 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 26 Mar 2012 16:21:35 +0000 Subject: Add APM_IOC_HIBERNATE --- sys/arch/amd64/include/apmvar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/amd64/include') 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); -- cgit v1.2.3