2006-08-29 16:45:45 +02: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
|
|
|
|
#define NOFILE 16 // file descriptors per process
|
|
|
|
#define NFD 100 // file descriptors per system
|
|
|
|
#define NREQUEST 100 // outstanding disk requests
|
|
|
|
#define NBUF 10 // size of disk block cache
|
|
|
|
#define NINODE 100 // maximum number of active i-nodes
|
|
|
|
#define NDEV 10 // maximum major device number
|