diff options
author | ache <ache@FreeBSD.org> | 1994-10-04 18:25:51 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-04 18:25:51 +0000 |
commit | 0683676e4a00725ffd8aa4a3e395ca0c2aa4627c (patch) | |
tree | 9f52d21545b8276c754c369619eba08bd51a262e | |
parent | 60db1604bf4f33d1e5384d1f523e02dc97604fcf (diff) | |
download | FreeBSD-src-0683676e4a00725ffd8aa4a3e395ca0c2aa4627c.zip FreeBSD-src-0683676e4a00725ffd8aa4a3e395ca0c2aa4627c.tar.gz |
CPU_DISRTCSET added to disable resettodr(), needed in adjkerntz -i,
per Bruce suggestion
-rw-r--r-- | sys/amd64/include/cpu.h | 6 | ||||
-rw-r--r-- | sys/i386/include/cpu.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h index b3dfe6e..f31f38a 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.9 1994/09/18 21:37:56 bde Exp $ + * $Id: cpu.h,v 1.10 1994/09/20 00:32:40 ache Exp $ */ #ifndef _MACHINE_CPU_H_ @@ -99,12 +99,14 @@ struct cpu_nameclass { */ #define CPU_CONSDEV 1 /* dev_t: console terminal device */ #define CPU_ADJKERNTZ 2 /* int: timezone offset for resettodr() */ -#define CPU_MAXID 3 /* number of valid machdep ids */ +#define CPU_DISRTCSET 3 /* int: disable resettodr() call */ +#define CPU_MAXID 4 /* number of valid machdep ids */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ { "console_device", CTLTYPE_STRUCT }, \ { "adjkerntz", CTLTYPE_INT }, \ + { "disable_rtc_set", CTLTYPE_INT }, \ } #ifdef KERNEL diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h index b3dfe6e..f31f38a 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.9 1994/09/18 21:37:56 bde Exp $ + * $Id: cpu.h,v 1.10 1994/09/20 00:32:40 ache Exp $ */ #ifndef _MACHINE_CPU_H_ @@ -99,12 +99,14 @@ struct cpu_nameclass { */ #define CPU_CONSDEV 1 /* dev_t: console terminal device */ #define CPU_ADJKERNTZ 2 /* int: timezone offset for resettodr() */ -#define CPU_MAXID 3 /* number of valid machdep ids */ +#define CPU_DISRTCSET 3 /* int: disable resettodr() call */ +#define CPU_MAXID 4 /* number of valid machdep ids */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ { "console_device", CTLTYPE_STRUCT }, \ { "adjkerntz", CTLTYPE_INT }, \ + { "disable_rtc_set", CTLTYPE_INT }, \ } #ifdef KERNEL |