1: /*
   2:  * Copyright (c) 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)cpu.h	1.5 (2.11BSD GTE) 1998/4/3
   7:  */
   8: 
   9: /*
  10:  * Define others as needed.  The old practice of defining _everything_
  11:  * for _all_ models and then attempting to 'ifdef' the mess on a particular
  12:  * cputype was simply too cumbersome (and didn't work when moving kernels
  13:  * between cpu types).
  14: */
  15: #define PDP1170_LEAR    ((physadr) 0177740)
  16: 
  17: /*
  18:  * CTL_MACHDEP definitions.
  19:  */
  20: #define CPU_CONSDEV     1   /* dev_t: console terminal device */
  21: #define CPU_TMSCP       2   /* tmscp debugging */
  22: #define CPU_MSCP        3   /* mscp debugging/logging */
  23: #define CPU_MAXID       4   /* number of valid machdep ids */
  24: 
  25: #ifndef KERNEL
  26: #define CTL_MACHDEP_NAMES { \
  27:     { 0, 0 }, \
  28:     { "console_device", CTLTYPE_STRUCT }, \
  29:     { "tmscp", CTLTYPE_NODE }, \
  30:     { "mscp", CTLTYPE_NODE }, \
  31: }
  32: #endif
  33: 
  34: #define TMSCP_CACHE 1       /* enable/disable drive cache */
  35: #define TMSCP_PRINTF    2       /* get/set print flag */
  36: #define TMSCP_MAXID 3       /* number of valid TMSCP ids */
  37: 
  38: #define MSCP_PRINTF 1       /* get/set print/logging flag */
  39: #define MSCP_MAXID  2       /* number of valid MSCP ids */
  40: 
  41: #ifndef KERNEL
  42: #define TMSCP_NAMES { \
  43:     { 0, 0 }, \
  44:     { "cache", CTLTYPE_INT }, \
  45:     { "printf", CTLTYPE_INT }, \
  46: }
  47: 
  48: #define MSCP_NAMES { \
  49:     { 0, 0 }, \
  50:     { "printf", CTLTYPE_INT }, \
  51: }
  52: #endif

Defined macros

CPU_CONSDEV defined in line 20; used 1 times
CPU_MAXID defined in line 23; used 1 times
CPU_MSCP defined in line 22; used 1 times
CPU_TMSCP defined in line 21; used 1 times
CTL_MACHDEP_NAMES defined in line 26; used 1 times
MSCP_MAXID defined in line 39; used 1 times
MSCP_NAMES defined in line 48; used 1 times
MSCP_PRINTF defined in line 38; never used
PDP1170_LEAR defined in line 15; never used
TMSCP_CACHE defined in line 34; never used
TMSCP_MAXID defined in line 36; used 1 times
TMSCP_NAMES defined in line 42; used 1 times
TMSCP_PRINTF defined in line 35; never used

Usage of this include

Last modified: 1998-04-04
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2674
Valid CSS Valid XHTML 1.0 Strict