diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1996-04-05 03:36:31 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1996-04-05 03:36:31 +0000 |
| commit | fe0d5f43c57c5440ce365c4febddffde6c07bce3 (patch) | |
| tree | 3ffd7498a4f969813e2e8f9dfe93fb476ea49cea /sys/amd64/include/cpu.h | |
| parent | b376966fbf41f9306c3c30ba1e1da4974cb1d385 (diff) | |
Notes
Diffstat (limited to 'sys/amd64/include/cpu.h')
| -rw-r--r-- | sys/amd64/include/cpu.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h index 4fc989d60fdb..08cb30287b5a 100644 --- a/sys/amd64/include/cpu.h +++ b/sys/amd64/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 |
