1 #define NPROC 64 // maximum number of processes 2 #define NCPU 8 // maximum number of CPUs 3 #define NOFILE 16 // open files per process 4 #define NFILE 100 // open files per system 5 #define NINODE 50 // maximum number of active i-nodes 6 #define NDEV 10 // maximum major device number 7 #define ROOTDEV 1 // device number of file system root disk 8 #define MAXARG 32 // max exec arguments 9 #define MAXOPBLOCKS 10 // max # of blocks any FS op writes 10 #define LOGSIZE (MAXOPBLOCKS*3) // max data blocks in on-disk log 11 #define NBUF (MAXOPBLOCKS*3) // size of disk block cache 12 #define FSSIZE 2000 // size of file system in blocks 13 #define MAXPATH 128 // maximum file path name 14 #define USERSTACK 1 // user stack pages 15