xv6-cs450/param.h

13 lines
594 B
C
Raw Normal View History

2006-09-06 19:06:10 +02:00
#define NPROC 64 // maximum number of processes
#define KSTACKSIZE 4096 // size of per-process kernel stack
2006-09-06 19:06:10 +02:00
#define NCPU 8 // maximum number of CPUs
2006-09-06 20:38:56 +02:00
#define NOFILE 16 // open files per process
#define NFILE 100 // open files per system
2006-09-06 19:06:10 +02:00
#define NBUF 10 // size of disk block cache
2007-08-24 16:56:17 +02:00
#define NINODE 50 // maximum number of active i-nodes
2006-09-06 19:06:10 +02:00
#define NDEV 10 // maximum major device number
#define ROOTDEV 1 // device number of file system root disk
#define MAXARG 32 // max exec arguments
#define LOGSIZE 10 // size of log