diff options
author | ache <ache@FreeBSD.org> | 1996-04-05 03:36:31 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-04-05 03:36:31 +0000 |
commit | 434490d43803611d1db1f1e99cfb16d171106205 (patch) | |
tree | 3ffd7498a4f969813e2e8f9dfe93fb476ea49cea /sys/i386/include/cpu.h | |
parent | def84715cb7f087981c292f84ec358d43019c286 (diff) | |
download | FreeBSD-src-434490d43803611d1db1f1e99cfb16d171106205.zip FreeBSD-src-434490d43803611d1db1f1e99cfb16d171106205.tar.gz |
Add wall_cmos_clock sysctl variable, needed to manage adjkerntz even for
UTC cmos clocks (needed for Local Timezone FSes)
Diffstat (limited to 'sys/i386/include/cpu.h')
-rw-r--r-- | sys/i386/include/cpu.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h index 4fc989d..08cb30287 100644 --- a/sys/i386/include/cpu.h +++ b/sys/i386/include/cpu.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)cpu.h 5.4 (Berkeley) 5/9/91 - * $Id: cpu.h,v 1.21 1995/07/16 10:33:28 phk Exp $ + * $Id: cpu.h,v 1.22 1996/03/29 14:14:07 bde Exp $ */ #ifndef _MACHINE_CPU_H_ @@ -112,10 +112,11 @@ struct cpu_nameclass { * CTL_MACHDEP definitions. */ #define CPU_CONSDEV 1 /* dev_t: console terminal device */ -#define CPU_ADJKERNTZ 2 /* int: timezone offset for resettodr() */ +#define CPU_ADJKERNTZ 2 /* int: timezone offset (seconds) */ #define CPU_DISRTCSET 3 /* int: disable resettodr() call */ #define CPU_BOOTINFO 4 /* struct: bootinfo */ -#define CPU_MAXID 5 /* number of valid machdep ids */ +#define CPU_WALLCLOCK 5 /* int: indicates wall CMOS clock */ +#define CPU_MAXID 6 /* number of valid machdep ids */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ @@ -123,6 +124,7 @@ struct cpu_nameclass { { "adjkerntz", CTLTYPE_INT }, \ { "disable_rtc_set", CTLTYPE_INT }, \ { "bootinfo", CTLTYPE_STRUCT }, \ + { "wall_cmos_clock", CTLTYPE_INT }, \ } #ifdef KERNEL |