add CTL_MACHDEP definitions
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 21 May 1993 12:21:33 +0000 (04:21 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 21 May 1993 12:21:33 +0000 (04:21 -0800)
SCCS-vsn: sys/hp300/include/cpu.h 7.14

usr/src/sys/hp300/include/cpu.h

index 59a7239..fd5059c 100644 (file)
@@ -11,7 +11,7 @@
  *
  * from: Utah $Hdr: cpu.h 1.16 91/03/25$
  *
  *
  * from: Utah $Hdr: cpu.h 1.16 91/03/25$
  *
- *     @(#)cpu.h       7.13 (Berkeley) %G%
+ *     @(#)cpu.h       7.14 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -89,7 +89,16 @@ extern unsigned char ssir;
 #define setsoftnet()   ssir |= SIR_NET
 #define setsoftclock() ssir |= SIR_CLOCK
 
 #define setsoftnet()   ssir |= SIR_NET
 #define setsoftclock() ssir |= SIR_CLOCK
 
+/*
+ * 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 }, \
+}
 
 /*
  * The rest of this should probably be moved to ../hp300/hp300cpu.h,
 
 /*
  * The rest of this should probably be moved to ../hp300/hp300cpu.h,