diff options
author | ache <ache@FreeBSD.org> | 1994-09-16 01:05:24 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-09-16 01:05:24 +0000 |
commit | e7226224c609b9c396cc1b9329bd74aff354029e (patch) | |
tree | caf98142b6b683e447e52b10b842d4f86452d04c | |
parent | 0b6872d87aa60f3b4c83826793ea8b267a5717f8 (diff) | |
download | FreeBSD-src-e7226224c609b9c396cc1b9329bd74aff354029e.zip FreeBSD-src-e7226224c609b9c396cc1b9329bd74aff354029e.tar.gz |
CPU_ADJKERNTZ added for resettodtr()
-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 8bc20e2..e716c1c 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.6 1994/05/25 08:55:47 rgrimes Exp $ + * $Id: cpu.h,v 1.7 1994/08/13 03:49:48 wollman Exp $ */ #ifndef _MACHINE_CPU_H_ @@ -101,11 +101,13 @@ struct cpu_nameclass { * CTL_MACHDEP definitions. */ #define CPU_CONSDEV 1 /* dev_t: console terminal device */ -#define CPU_MAXID 2 /* number of valid machdep ids */ +#define CPU_ADJKERNTZ 2 /* int: timezone offset for resettodr() */ +#define CPU_MAXID 3 /* number of valid machdep ids */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ { "console_device", CTLTYPE_STRUCT }, \ + { "adjkerntz", CTLTYPE_INT }, \ } #ifdef KERNEL diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h index 8bc20e2..e716c1c 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.6 1994/05/25 08:55:47 rgrimes Exp $ + * $Id: cpu.h,v 1.7 1994/08/13 03:49:48 wollman Exp $ */ #ifndef _MACHINE_CPU_H_ @@ -101,11 +101,13 @@ struct cpu_nameclass { * CTL_MACHDEP definitions. */ #define CPU_CONSDEV 1 /* dev_t: console terminal device */ -#define CPU_MAXID 2 /* number of valid machdep ids */ +#define CPU_ADJKERNTZ 2 /* int: timezone offset for resettodr() */ +#define CPU_MAXID 3 /* number of valid machdep ids */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ { "console_device", CTLTYPE_STRUCT }, \ + { "adjkerntz", CTLTYPE_INT }, \ } #ifdef KERNEL |