Mercurial > hg > Members > anatofuz > CbC_xv6
view 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 |
line wrap: on
line source
#ifndef PARAM_INCLUDE #define PARAM_INCLUDE #define NPROC 64 // maximum number of processes #define KSTACKSIZE 4096 // size of per-process kernel stack #define NCPU 8 // maximum number of CPUs #define NOFILE 16 // open files per process #define NFILE 100 // open files per system #define NBUF 10 // size of disk block cache #define NINODE 50 // maximum number of active i-nodes #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 // max data sectors in on-disk log #define HZ 10 #define N_CALLSTK 15 #endif