diff options
author | 2012-03-26 16:21:34 +0000 | |
---|---|---|
committer | 2012-03-26 16:21:34 +0000 | |
commit | 3d908d29384683439e442702ccecaf2a276fad97 (patch) | |
tree | be4e8273d6e3a556481ae17918dd8fb8d1e386ad | |
parent | Fix an integer math error when using the result of uvm_page_rle, and (diff) | |
download | wireguard-openbsd-3d908d29384683439e442702ccecaf2a276fad97.tar.xz wireguard-openbsd-3d908d29384683439e442702ccecaf2a276fad97.zip |
Add APM_IOC_HIBERNATE
-rw-r--r-- | sys/arch/amd64/include/apmvar.h | 3 | ||||
-rw-r--r-- | sys/arch/arm/include/apmvar.h | 3 | ||||
-rw-r--r-- | sys/arch/i386/include/apmvar.h | 3 | ||||
-rw-r--r-- | sys/arch/loongson/include/apmvar.h | 3 | ||||
-rw-r--r-- | sys/arch/macppc/include/apmvar.h | 3 | ||||
-rw-r--r-- | sys/arch/sparc/include/apmvar.h | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/include/apmvar.h | 3 |
7 files changed, 14 insertions, 7 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); diff --git a/sys/arch/arm/include/apmvar.h b/sys/arch/arm/include/apmvar.h index b65096ac4c5..9323a4751d6 100644 --- a/sys/arch/arm/include/apmvar.h +++ b/sys/arch/arm/include/apmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apmvar.h,v 1.2 2009/02/26 17:19:47 oga Exp $ */ +/* $OpenBSD: apmvar.h,v 1.3 2012/03/26 16:21:34 deraadt Exp $ */ /* * Copyright (c) 2001 Alexander Guy @@ -116,5 +116,6 @@ 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 */ #endif /* _ARM_APMVAR_H_ */ diff --git a/sys/arch/i386/include/apmvar.h b/sys/arch/i386/include/apmvar.h index 3844f7ee89d..9b7a1454b07 100644 --- a/sys/arch/i386/include/apmvar.h +++ b/sys/arch/i386/include/apmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apmvar.h,v 1.17 2011/03/23 16:54:35 pirofti Exp $ */ +/* $OpenBSD: apmvar.h,v 1.18 2012/03/26 16:21:34 deraadt Exp $ */ /* * Copyright (c) 1995 John T. Kohl @@ -289,6 +289,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 diff --git a/sys/arch/loongson/include/apmvar.h b/sys/arch/loongson/include/apmvar.h index 0930f0340b9..8ae70c55774 100644 --- a/sys/arch/loongson/include/apmvar.h +++ b/sys/arch/loongson/include/apmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apmvar.h,v 1.2 2011/03/23 16:54:35 pirofti Exp $ */ +/* $OpenBSD: apmvar.h,v 1.3 2012/03/26 16:21:34 deraadt Exp $ */ /* * Copyright (c) 2001 Alexander Guy @@ -116,6 +116,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 void apm_setinfohook(int (*)(struct apm_power_info *)); diff --git a/sys/arch/macppc/include/apmvar.h b/sys/arch/macppc/include/apmvar.h index bd00bfdfd9c..3c4d2b78767 100644 --- a/sys/arch/macppc/include/apmvar.h +++ b/sys/arch/macppc/include/apmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apmvar.h,v 1.6 2011/03/23 16:54:36 pirofti Exp $ */ +/* $OpenBSD: apmvar.h,v 1.7 2012/03/26 16:21:34 deraadt Exp $ */ /* * Copyright (c) 2001 Alexander Guy @@ -116,5 +116,6 @@ 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 */ #endif /* _MACHINE_APMVAR_H_ */ diff --git a/sys/arch/sparc/include/apmvar.h b/sys/arch/sparc/include/apmvar.h index c0fa7753179..e8f5d5ce385 100644 --- a/sys/arch/sparc/include/apmvar.h +++ b/sys/arch/sparc/include/apmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apmvar.h,v 1.2 2009/02/26 17:19:47 oga Exp $ */ +/* $OpenBSD: apmvar.h,v 1.3 2012/03/26 16:21:34 deraadt Exp $ */ /* * Copyright (c) 1995 John T. Kohl @@ -122,5 +122,6 @@ 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 */ #endif /* _MACHINE_APMVAR_H_ */ diff --git a/sys/arch/sparc64/include/apmvar.h b/sys/arch/sparc64/include/apmvar.h index 96c6be8bc36..93a22652809 100644 --- a/sys/arch/sparc64/include/apmvar.h +++ b/sys/arch/sparc64/include/apmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apmvar.h,v 1.3 2011/03/23 16:54:37 pirofti Exp $ */ +/* $OpenBSD: apmvar.h,v 1.4 2012/03/26 16:21:34 deraadt Exp $ */ /* * Copyright (c) 2001 Alexander Guy @@ -116,5 +116,6 @@ 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 */ #endif /* _MACHINE_APMVAR_H_ */ |