1: /*
   2:  * tunable variables
   3:  */
   4: 
   5: #define NBUF    15      /* size of buffer cache */
   6: #define NINODE  100     /* number of in core inodes */
   7: #define NFILE   100     /* number of in core file structures */
   8: #define NMOUNT  5       /* number of mountable file systems */
   9: #define NEXEC   3       /* number of simultaneous exec's */
  10: #define MAXMEM  (64*32)     /* max core per process - first # is Kw */
  11: #define SSIZE   20      /* initial stack size (*64 bytes) */
  12: #define SINCR   20      /* increment of stack (*64 bytes) */
  13: #define NOFILE  15      /* max open files per process */
  14: #define CANBSIZ 256     /* max size of typewriter line */
  15: #define CMAPSIZ 100     /* size of core allocation area */
  16: #define SMAPSIZ 100     /* size of swap allocation area */
  17: #define NCALL   20      /* max simultaneous time callouts */
  18: #define NPROC   50      /* max number of processes */
  19: #define NTEXT   40      /* max number of pure texts */
  20: #define NCLIST  100     /* max total clist size */
  21: #define HZ  60      /* Ticks/second of the clock */
  22: 
  23: /*
  24:  * priorities
  25:  * probably should not be
  26:  * altered too much
  27:  */
  28: 
  29: #define PSWP    -100
  30: #define PINOD   -90
  31: #define PRIBIO  -50
  32: #define PPIPE   1
  33: #define PWAIT   40
  34: #define PSLEP   90
  35: #define PUSER   100
  36: 
  37: /*
  38:  * signals
  39:  * dont change
  40:  */
  41: 
  42: #define NSIG    20
  43: #define     SIGHUP  1   /* hangup */
  44: #define     SIGINT  2   /* interrupt (rubout) */
  45: #define     SIGQIT  3   /* quit (FS) */
  46: #define     SIGINS  4   /* illegal instruction */
  47: #define     SIGTRC  5   /* trace or breakpoint */
  48: #define     SIGIOT  6   /* iot */
  49: #define     SIGEMT  7   /* emt */
  50: #define     SIGFPT  8   /* floating exception */
  51: #define     SIGKIL  9   /* kill */
  52: #define     SIGBUS  10  /* bus error */
  53: #define     SIGSEG  11  /* segmentation violation */
  54: #define     SIGSYS  12  /* sys */
  55: #define     SIGPIPE 13  /* end of pipe */
  56: 
  57: /*
  58:  * fundamental constants
  59:  * cannot be changed
  60:  */
  61: 
  62: #define USIZE   16      /* size of user block (*64) */
  63: #define NULL    0
  64: #define NODEV   (-1)
  65: #define ROOTINO 1       /* i number of all roots */
  66: #define DIRSIZ  14      /* max characters per directory */
  67: 
  68: /*
  69:  * structure to access an
  70:  * integer in bytes
  71:  */
  72: struct
  73: {
  74:     char    lobyte;
  75:     char    hibyte;
  76: };
  77: 
  78: /*
  79:  * structure to access an integer
  80:  */
  81: struct
  82: {
  83:     int integ;
  84: };
  85: 
  86: /*
  87:  * Certain processor registers
  88:  */
  89: #define PS  0177776
  90: #define KL  0177560
  91: #define SW  0177570

Defined macros

CANBSIZ defined in line 14; used 2 times
CMAPSIZ defined in line 15; used 1 times
DIRSIZ defined in line 66; used 13 times
HZ defined in line 21; used 5 times
KL defined in line 90; used 9 times
MAXMEM defined in line 10; used 1 times
NBUF defined in line 5; used 3 times
NCALL defined in line 17; used 1 times
NCLIST defined in line 20; used 2 times
NEXEC defined in line 9; used 2 times
NFILE defined in line 7; used 2 times
NINODE defined in line 6; used 5 times
NMOUNT defined in line 8; used 6 times
NODEV defined in line 64; used 6 times
NOFILE defined in line 13; used 5 times
NPROC defined in line 18; used 19 times
NSIG defined in line 42; used 5 times
NTEXT defined in line 19; used 2 times
NULL defined in line 63; used 105 times
PINOD defined in line 30; used 4 times
PPIPE defined in line 32; used 3 times
PRIBIO defined in line 31; used 5 times
PS defined in line 89; used 59 times
PSLEP defined in line 34; used 1 times
PSWP defined in line 29; used 5 times
PUSER defined in line 35; used 4 times
PWAIT defined in line 33; used 1 times
ROOTINO defined in line 65; used 3 times
SIGBUS defined in line 52; used 1 times
SIGEMT defined in line 49; used 1 times
SIGFPT defined in line 50; used 2 times
SIGHUP defined in line 43; used 2 times
SIGINS defined in line 46; used 5 times
SIGINT defined in line 44; used 6 times
SIGIOT defined in line 48; used 1 times
SIGKIL defined in line 51; used 2 times
SIGPIPE defined in line 55; used 1 times
SIGQIT defined in line 45; used 1 times
SIGSEG defined in line 53; used 1 times
SIGSYS defined in line 54; used 1 times
SIGTRC defined in line 47; used 3 times
SINCR defined in line 12; used 1 times
SMAPSIZ defined in line 16; used 1 times
SSIZE defined in line 11; used 3 times
SW defined in line 91; used 2 times
USIZE defined in line 62; used 15 times

Usage of this include

Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2060
Valid CSS Valid XHTML 1.0 Strict