2006-09-06 17:06:10 +00:00
|
|
|
#define NPROC 64 // maximum number of processes
|
2010-08-31 16:54:47 +00:00
|
|
|
#define KSTACKSIZE 4096 // size of per-process kernel stack
|
2006-09-06 17:06:10 +00:00
|
|
|
#define NCPU 8 // maximum number of CPUs
|
2006-09-06 18:38:56 +00:00
|
|
|
#define NOFILE 16 // open files per process
|
|
|
|
#define NFILE 100 // open files per system
|
2007-08-24 14:56:17 +00:00
|
|
|
#define NINODE 50 // maximum number of active i-nodes
|
2006-09-06 17:06:10 +00:00
|
|
|
#define NDEV 10 // maximum major device number
|
2007-08-22 06:01:32 +00:00
|
|
|
#define ROOTDEV 1 // device number of file system root disk
|
2010-09-27 20:14:33 +00:00
|
|
|
#define MAXARG 32 // max exec arguments
|
2014-08-28 09:57:47 +00:00
|
|
|
#define MAXOPBLOCKS 10 // max # of blocks any FS op writes
|
2015-04-03 12:22:02 +00:00
|
|
|
#define LOGSIZE (MAXOPBLOCKS*3) // max data blocks in on-disk log
|
2014-08-28 21:04:47 +00:00
|
|
|
#define NBUF (MAXOPBLOCKS*3) // size of disk block cache
|
2015-04-10 11:15:06 +00:00
|
|
|
#define FSSIZE 1000 // size of file system in blocks
|
2011-07-28 00:35:46 +00:00
|
|
|
|