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 NINODE 50 // maximum number of active i-nodes 7 #define NDEV 10 // maximum major device number 8 #define ROOTDEV 1 // device number of file system root disk 9 #define MAXARG 32 // max exec arguments 10 #define MAXOPBLOCKS 10 // max # of blocks any FS op writes 11 #define LOGSIZE (MAXOPBLOCKS*3) // max data blocks in on-disk log 12 #define NBUF (MAXOPBLOCKS*3) // size of disk block cache 13 #define FSSIZE 1000 // size of file system in blocks 14