0
|
1 #ifndef PARAM_INCLUDE
|
|
2 #define PARAM_INCLUDE
|
|
3
|
|
4
|
|
5 #define NPROC 64 // maximum number of processes
|
|
6 #define KSTACKSIZE 4096 // size of per-process kernel stack
|
|
7 #define NCPU 8 // maximum number of CPUs
|
|
8 #define NOFILE 16 // open files per process
|
|
9 #define NFILE 100 // open files per system
|
|
10 #define NBUF 10 // size of disk block cache
|
|
11 #define NINODE 50 // maximum number of active i-nodes
|
|
12 #define NDEV 10 // maximum major device number
|
|
13 #define ROOTDEV 1 // device number of file system root disk
|
|
14 #define MAXARG 32 // max exec arguments
|
|
15 #define LOGSIZE 10 // max data sectors in on-disk log
|
|
16
|
|
17 #define HZ 10
|
|
18
|
|
19 #define N_CALLSTK 15
|
|
20 #endif |