19 lines
1.1 KiB
C
19 lines
1.1 KiB
C
|
// TODO: CHECK/REPLACE/UPDATE OLD CODE (this file is based on xv6)
|
||
|
#define NPRIO 8 // Priority 1 is HIGH PRIORITY, priority NPRIO is LOW PRIORITY
|
||
|
#define INITPRIO (NPRIO/2-1) // This assumes at least 4 or so priorities to be useful
|
||
|
#define NPROC 1024 // maximum number of processes
|
||
|
#define NCPU 64 // maximum number of CPUs
|
||
|
#define NOFILE 16 // open files per process
|
||
|
#define NFILE 100 // open files per system
|
||
|
#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 MAXOPBLOCKS 10 // max # of blocks any FS op writes
|
||
|
#define LOGSIZE (MAXOPBLOCKS*3) // max data blocks in on-disk log
|
||
|
#define NBUF (MAXOPBLOCKS*3) // size of disk block cache (this is now only a default setting internally)
|
||
|
//#define FSSIZE 2000 // size of file system in blocks
|
||
|
#define MAXPATH 128 // maximum file path name
|
||
|
#define USERSTACK 1 // user stack pages
|
||
|
|