diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1996-11-08 02:20:09 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1996-11-08 02:20:09 +0000 |
commit | 0bead95cc579bdbd6c036dc8fc60b0752dc937ca (patch) | |
tree | fff4d4f55aa64d9ce4cd974cb5244645289e38c5 /sys/arch/sun3/include/cpu.h | |
parent | 7512220c5bad7cd0d7926e5e080a65d4254bacb2 (diff) |
Added protection against multiple inclusions.
Added CTL_MACHDEP definitions.
"The Way Out Is The Way In" -- Laraaji
Diffstat (limited to 'sys/arch/sun3/include/cpu.h')
-rw-r--r-- | sys/arch/sun3/include/cpu.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/arch/sun3/include/cpu.h b/sys/arch/sun3/include/cpu.h index 3ff22cf5a7f..dfd987164cf 100644 --- a/sys/arch/sun3/include/cpu.h +++ b/sys/arch/sun3/include/cpu.h @@ -44,6 +44,9 @@ * cpu.h,v 1.2 1993/05/22 07:58:17 cgd Exp */ +#ifndef _SUN3_CPU_H_ +#define _SUN3_CPU_H_ + #ifdef _KERNEL /* @@ -165,3 +168,16 @@ extern unsigned char cpu_machine_id; #define IC_CLEAR (IC_CLR|IC_ENABLE) #endif /* _KERNEL */ + +/* + * CTL_MACHDEP definitions. + */ +#define CPU_CONSDEV 1 /* dev_t: console terminal device */ +#define CPU_MAXID 2 /* number of valid machdep ids */ + +#define CTL_MACHDEP_NAMES { \ + { 0, 0 }, \ + { "console_device", CTLTYPE_STRUCT }, \ +} + +#endif /* !_SUN3_CPU_H_ */ |