Commit | Line | Data |
---|---|---|
cb896671 KT |
1 | /* |
2 | * variables | |
3 | */ | |
4 | ||
5 | #define NBUF 15 | |
6 | #define NINODE 100 | |
7 | #define NFILE 100 | |
8 | #define NMOUNT 5 | |
9 | #define NEXEC 4 | |
10 | #define MAXMEM (32*32) | |
11 | #define SSIZE 20 | |
12 | #define SINCR 20 | |
13 | #define NOFILE 15 | |
14 | #define CANBSIZ 256 | |
15 | #define CMAPSIZ 100 | |
16 | #define SMAPSIZ 100 | |
17 | #define NCALL 20 | |
18 | #define NPROC 50 | |
19 | #define NTEXT 20 | |
20 | #define NCLIST 100 | |
21 | ||
22 | /* | |
23 | * priorities | |
24 | * probably should not be | |
25 | * altered too much | |
26 | */ | |
27 | ||
28 | #define PSWP -100 | |
29 | #define PINOD -90 | |
30 | #define PRIBIO -50 | |
31 | #define PPIPE 1 | |
32 | #define PWAIT 40 | |
33 | #define PSLEP 90 | |
34 | #define PUSER 100 | |
35 | ||
36 | /* | |
37 | * signals | |
38 | * dont change | |
39 | */ | |
40 | ||
41 | #define NSIG 13 | |
42 | #define SIGHUP 1 | |
43 | #define SIGINT 2 | |
44 | #define SIGQIT 3 | |
45 | #define SIGINS 4 | |
46 | #define SIGTRC 5 | |
47 | #define SIGIOT 6 | |
48 | #define SIGEMT 7 | |
49 | #define SIGFPT 8 | |
50 | #define SIGKIL 9 | |
51 | #define SIGBUS 10 | |
52 | #define SIGSEG 11 | |
53 | #define SIGSYS 12 | |
54 | ||
55 | /* | |
56 | * fundamental constants | |
57 | * cannot be changed | |
58 | */ | |
59 | ||
60 | #define USIZE 16 | |
61 | #define NULL 0 | |
62 | #define NODEV (-1) | |
63 | #define ROOTINO 1 | |
64 | #define DIRSIZ 14 | |
65 | ||
66 | struct | |
67 | { | |
68 | char lobyte; | |
69 | char hibyte; | |
70 | }; |