|
|
1.1 root 1: /*
2: * config data
3: */
4:
5: #include "sys/param.h"
6: #include "sys/conf.h"
7: #include "sys/vtimes.h"
8: #include "sys/proc.h"
9: #include "sys/inode.h"
10: #include "sys/file.h"
11: #include "sys/text.h"
12: #include "sys/callout.h"
13: #include "sys/buf.h"
14: #include "sys/map.h"
15: #include "sys/stream.h"
16: #include "sys/ubaddr.h"
17: #include "sys/uba.h"
18: #include "sys/uda.h"
19: #include "sys/dhv11.h"
20: #include "sys/dk.h"
21: #include "sys/mscp.h"
22: #include "sys/udaioc.h"
23: #include "sys/ra.h"
24: #include "sys/ta.h"
25: #include "sys/ttyio.h"
26: #include "sys/ttyld.h"
27: #include "sys/mesg.h"
28: #include "sys/dkp.h"
29: #include "sys/mount.h"
30: extern struct bdevsw swbdev;
31: extern struct bdevsw rabdev;
32: extern struct bdevsw tabdev;
33: int nblkdev = 11;
34: extern struct cdevsw cncdev;
35: extern struct cdevsw mmcdev;
36: extern struct cdevsw swcdev;
37: extern struct cdevsw dkcdev;
38: extern struct cdevsw racdev;
39: extern struct cdevsw fdcdev;
40: extern struct cdevsw pgcdev;
41: extern struct cdevsw dhvcdev;
42: extern struct cdevsw tacdev;
43: int nchrdev = 60;
44: extern struct fstypsw fsfs;
45: extern struct fstypsw nafs;
46: extern struct fstypsw prfs;
47: extern struct fstypsw msfs;
48: extern struct fstypsw nbfs;
49: extern struct fstypsw erfs;
50: extern struct fstypsw pipfs;
51: int nfstyp = 7;
52: extern struct streamtab ttystream;
53: extern struct streamtab cdkpstream;
54: extern struct streamtab rdkstream;
55: extern struct streamtab msgstream;
56: extern struct streamtab dkpstream;
57: extern struct streamtab rmsgstream;
58: extern struct streamtab connstream;
59: extern struct streamtab xpstream;
60: int nstreamtab = 20;
61:
62: struct bdevsw *bdevsw[] = {
63: NULL,
64: NULL,
65: NULL,
66: NULL,
67: &swbdev, /* 4 */
68: NULL,
69: NULL,
70: &rabdev, /* 7 */
71: NULL,
72: NULL,
73: &tabdev, /* 10 */
74: };
75: struct cdevsw *cdevsw[] = {
76: &cncdev, /* 0 */
77: NULL,
78: NULL,
79: &mmcdev, /* 3 */
80: NULL,
81: NULL,
82: NULL,
83: &swcdev, /* 7 */
84: NULL,
85: NULL,
86: NULL,
87: NULL,
88: NULL,
89: NULL,
90: NULL,
91: NULL,
92: NULL,
93: &dkcdev, /* 17 */
94: NULL,
95: NULL,
96: NULL,
97: NULL,
98: NULL,
99: NULL,
100: NULL,
101: NULL,
102: NULL,
103: NULL,
104: &racdev, /* 28 */
105: NULL,
106: NULL,
107: NULL,
108: NULL,
109: NULL,
110: NULL,
111: NULL,
112: NULL,
113: NULL,
114: NULL,
115: NULL,
116: &fdcdev, /* 40 */
117: NULL,
118: NULL,
119: NULL,
120: NULL,
121: NULL,
122: NULL,
123: NULL,
124: NULL,
125: &pgcdev, /* 49 */
126: NULL,
127: NULL,
128: NULL,
129: NULL,
130: NULL,
131: NULL,
132: NULL,
133: &dhvcdev, /* 57 */
134: NULL,
135: &tacdev, /* 59 */
136: };
137: struct fstypsw *fstypsw[] = {
138: &fsfs, /* 0 */
139: &nafs, /* 1 */
140: &prfs, /* 2 */
141: &msfs, /* 3 */
142: &nbfs, /* 4 */
143: &erfs, /* 5 */
144: &pipfs, /* 6 */
145: };
146: struct streamtab *streamtab[] = {
147: &ttystream, /* 0 */
148: &cdkpstream, /* 1 */
149: &rdkstream, /* 2 */
150: NULL,
151: &msgstream, /* 4 */
152: &dkpstream, /* 5 */
153: NULL,
154: NULL,
155: NULL,
156: &rmsgstream, /* 9 */
157: NULL,
158: NULL,
159: NULL,
160: NULL,
161: NULL,
162: NULL,
163: NULL,
164: NULL,
165: &connstream, /* 18 */
166: &xpstream, /* 19 */
167: };
168: int proccnt = 300;
169: struct proc proc[300];
170: int filecnt = 500;
171: struct file file[500];
172: int inodecnt = 700;
173: struct inode inode[700];
174: int calloutcnt = 50;
175: struct callout callout[50];
176: int textcnt = 60;
177: struct text text[60];
178: int argcnt = 16;
179: struct map argmap[16];
180: int swmapcnt = 200;
181: struct map swapmap[200];
182: int kernelcnt = 100;
183: struct map kernelmap[100];
184: int swbufcnt = 50;
185: struct buf swapbuf[50];
186: struct swapinfo swapinfo[50];
187: int bufhcnt = 63;
188: struct bufhd bufhash[63];
189: int queuecnt = 1024;
190: struct queue queue[1024];
191: int streamcnt = 256;
192: struct stdata streams[256];
193: int blkcnt = 1200;
194: struct block cblock[1200];
195: int blkbcnt = 20;
196: struct buf *cblkbuf[20];
197: int dstflag = 1;
198: int timezone = 300;
199: int maxtsize = 12256;
200: int maxdsize = 24544;
201: int maxssize = 24544;
202: int ubacnt = 1;
203: struct uba uba[1];
204: struct ubaddr udaddr[] = {
205: {0772150, 0154, 0},
206: {0774500, 0270, 0},
207: };
208: int udcnt = 2;
209: struct ud ud[2];
210: extern struct msportsw udport;
211: int nmsport = 1;
212: struct msportsw *msportsw[] = {
213: &udport, /* 0 */
214: };
215: struct msaddr raaddr[] = {
216: {0, 0, 0},
217: {0, 0, 1},
218: {0, 0, 2},
219: {0, 0, 3},
220: };
221: int racnt = 4;
222: struct radisk radisk[4];
223: struct buf rabuf[4];
224: struct msaddr taaddr[] = {
225: {1, 0, 0},
226: };
227: int tacnt = 1;
228: struct tatape tatape[1];
229: struct buf tabuf[1];
230: struct ubaddr dkaddr[] = {
231: {0767770, 0300, 0},
232: };
233: int dkcnt = 256;
234: struct dk dk[256];
235: char dkstate[256];
236: struct ubaddr dhvaddr[] = {
237: {0760440, 0310, 0},
238: };
239: int dhvcnt = 8;
240: struct dhv dhv[8];
241: struct ubaddr pgaddr[] = {
242: {0774000, 00, 0},
243: {0774040, 00, 0},
244: {0774100, 00, 0},
245: };
246: int pgcnt = 3;
247: caddr_t pgcaddr[3];
248: int cncnt = 0;
249: int ttycnt = 48;
250: struct ttyld ttyld[48];
251: int msgcnt = 256;
252: struct imesg mesg[256];
253: int dkpcnt = 96;
254: struct dkp dkp[96];
255: int rdkcnt = 0;
256: int xpcnt = 0;
257: int cdkpcnt = 0;
258: int fscnt = 10;
259: struct mount fsmtab[10];
260: int rootfstyp = 0;
261: dev_t rootdev = makedev(7, 0);
262: dev_t swapdev = makedev(4, 0);
263: struct swdevt swdevt[] = {
264: {makedev(7, 1), 20480L},
265: {makedev(7, 9), 20480L},
266: {makedev(7, 17), 20480L},
267: {makedev(7, 25), 20480L},
268: };
269: int nswdevt = 4;
270: extern int uddump();
271: int (*dumprout)() = uddump;
272: int dumpunit = 1;
273: long dumplow = 10240;
274: long dumpsize = 20480;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.