xv6/param.h

12 lines
632 B
C
Raw Normal View History

2006-09-06 17:06:10 +00:00
#define NPROC 64 // maximum number of processes
#define PAGE 4096 // granularity of user-space memory allocation
#define KSTACKSIZE PAGE // size of per-process kernel stack
#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
2006-09-06 17:06:10 +00:00
#define NBUF 10 // size of disk block cache
2007-08-22 14:38:00 +00:00
#define NREQUEST NBUF // outstanding disk requests
2006-09-06 17:06:10 +00:00
#define NINODE 100 // maximum number of active i-nodes
#define NDEV 10 // maximum major device number
#define ROOTDEV 1 // device number of file system root disk