
Added hotkeys to switch between console buffers and to return to the home one Added clear screen command Added debug text outputs to the hello command and when loading sh
17 lines
954 B
C
17 lines
954 B
C
#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 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
|
|
#define FSSIZE 1000 // size of file system in blocks
|
|
#define MAXVCONSOLES 10 // Max number of consoles that can be open
|
|
#define SCRWIDTH 80 // Numbers of characters across the screen
|
|
#define SCRHEIGHT 25 // Number of lines down the screen
|