summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3/include/cpu.h')
-rw-r--r--sys/arch/sun3/include/cpu.h16
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_ */