|
|
1.1 ! root 1: /* (-lgl ! 2: * COHERENT Version 4.0 ! 3: * Copyright (c) 1982, 1992 by Mark Williams Company. ! 4: * All rights reserved. May not be copied without permission. ! 5: -lgl) */ ! 6: #ifndef PARAM_H ! 7: #define PARAM_H ! 8: ! 9: /* WARNING! Fix references to dev_loaded if ever NDRV > 8*sizeof(int) */ ! 10: #define NDRV 32 /* Number of major device entries */ ! 11: #define NOFILE 60 /* Number of user open files */ ! 12: #define NEXREAD 6 /* Read ahead */ ! 13: ! 14: #ifdef KERNEL /* These set in *con.c */ ! 15: extern int NBUF; /* Now an adjustable parameter */ ! 16: extern int NHASH; /* Now an adjustable parameter */ ! 17: extern int NINODE; /* Now an adjustable parameter */ ! 18: extern int NCLIST; /* Now an adjustable parameter */ ! 19: extern int ALLSIZE; /* Now an adjustable paramenter */ ! 20: extern int ISTSIZE; /* Initial stack size (bytes) */ ! 21: #endif ! 22: ! 23: #ifdef _I386 ! 24: #define BPCSHIFT 12 ! 25: #define BPC1SHIFT 10 ! 26: #define BPSSHIFT 22 ! 27: #define NBPC 0x001000 ! 28: #define NBPS 0x400000 ! 29: ! 30: #define ISP_286 0x10000 ! 31: #define ISP_386 stob(512) ! 32: ! 33: #define UPASIZE 4096 /* Size in bytes of user area */ ! 34: ! 35: #define SYI86UNEEK 333 ! 36: ! 37: #define MSACOUNT 6 /* Number of ints for system call args */ ! 38: #define ISTVIRT 0 /* Stack virtual base for sys exec */ ! 39: #define SOVSIZE 0 /* Stack overflow size */ ! 40: #define MADSIZE 32767 /* Maximum addressable segment size */ ! 41: #define SMICALL 0 /* Start of independent system calls */ ! 42: #define NMICALL 88 /* Machine independent system calls */ ! 43: #define COHCALL 500 /* Number of COH system call */ ! 44: #define SMDCALL 128 /* Start of dependent system calls */ ! 45: #define NMDCALL 0 /* Machine dependent system calls */ ! 46: #define BSIZE 512 /* Buffer size */ ! 47: #define SCHUNK 16384 /* I/O chunk size for swap and dump */ ! 48: #define NCPCL 124 /* Number of characters in clist */ ! 49: #define NPID 30000 /* Maximum process id */ ! 50: #define MAXU ((unsigned)0177777) ! 51: ! 52: /* ! 53: * Commands for system call cohcall() ! 54: */ ! 55: #define COH_PRINTF 1 ! 56: #define COH_DEVLOAD 2 ! 57: #define COH_SETBP 4 ! 58: #define COH_CLRBP 5 ! 59: #define COH_REBOOT 6 ! 60: #define COH_VIO 7 ! 61: ! 62: /* ! 63: * There must be an even number of HZ in a second. ! 64: */ ! 65: #define HZ 100 ! 66: #endif ! 67: ! 68: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.