From c309e124993581f0ea0dc07458f4872ea0aa8c0c Mon Sep 17 00:00:00 2001 From: gwr Date: Tue, 10 May 1994 05:24:05 +0000 Subject: [PATCH] Add CTL_MACHDEP stuff. --- sys/arch/sun3/include/cpu.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/sys/arch/sun3/include/cpu.h b/sys/arch/sun3/include/cpu.h index ceca750af29f..e1765ec1e783 100644 --- a/sys/arch/sun3/include/cpu.h +++ b/sys/arch/sun3/include/cpu.h @@ -38,7 +38,7 @@ * from: Utah Hdr: cpu.h 1.16 91/03/25 * from: @(#)cpu.h 7.7 (Berkeley) 6/27/91 * cpu.h,v 1.2 1993/05/22 07:58:17 cgd Exp - * $Id: cpu.h,v 1.9 1994/05/06 23:02:38 gwr Exp $ + * $Id: cpu.h,v 1.10 1994/05/10 05:24:05 gwr Exp $ */ #ifdef KERNEL @@ -103,6 +103,17 @@ int want_resched; /* resched() was called */ #include +/* + * 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 }, \ +} + /* values for machineid */ #define CPU_ARCH_MASK 0xf0