home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / 2014.11.minnie.tuhs.org.tar / minnie.tuhs.org / UnixArchive / PDP-11 / Trees / V6 / usr / sys / param.h < prev    next >
C/C++ Source or Header  |  1975-05-14  |  2KB  |  92 lines

  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
  92.