xv6-riscv-kernel/param.h

14 lines
699 B
C
Raw Normal View History

2006-09-06 19:06:10 +02:00
#define NPROC 64 // maximum number of processes
#define NCPU 8 // maximum number of CPUs
2006-09-06 20:38:56 +02:00
#define NOFILE 16 // open files per process
#define NFILE 100 // open files per system
2007-08-24 16:56:17 +02:00
#define NINODE 50 // maximum number of active i-nodes
2006-09-06 19:06:10 +02:00
#define NDEV 10 // maximum major device number
#define ROOTDEV 1 // device number of file system root disk
#define MAXARG 32 // max exec arguments
#define MAXOPBLOCKS 10 // max # of blocks any FS op writes
#define LOGSIZE (MAXOPBLOCKS*3) // max data blocks in on-disk log
2014-08-28 23:04:47 +02:00
#define NBUF (MAXOPBLOCKS*3) // size of disk block cache
2015-04-10 13:15:06 +02:00
#define FSSIZE 1000 // size of file system in blocks