1 #define NPROC 64 // maximum number of processes
2 #define KSTACKSIZE 4096 // size of per-process kernel stack
3 #define NCPU 8 // maximum number of CPUs
4 #define NOFILE 16 // open files per process
5 #define NFILE 100 // open files per system
6 #define NBUF 10 // size of disk block cache
7 #define NINODE 50 // maximum number of active i-nodes
8 #define NDEV 10 // maximum major device number
9 #define ROOTDEV 1 // device number of file system root disk
10 #define MAXARG 32 // max exec arguments
11 #define LOGSIZE 10 // max data sectors in on-disk log