comparison src/param.h @ 0:83c23a36980d

Init
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Fri, 26 May 2017 23:11:05 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:83c23a36980d
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