|
|
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/nexus.h"
17: #include "sys/ubaddr.h"
18: #include "sys/uba.h"
19: #include "sys/biaddr.h"
20: #include "sys/uda.h"
21: #include "sys/bda.h"
22: #include "sys/inet/in.h"
23: #include "sys/inet/ip_var.h"
24: #include "sys/inet/udp.h"
25: #include "sys/inet/tcp.h"
26: #include "sys/inet/tcp_timer.h"
27: #include "sys/inet/tcp_var.h"
28: #include "sys/dz.h"
29: #include "sys/kmc.h"
30: #include "sys/kdi.h"
31: #include "sys/mscp.h"
32: #include "sys/udaioc.h"
33: #include "sys/ra.h"
34: #include "sys/ta.h"
35: #include "sys/bvp.h"
36: #include "sys/debna.h"
37: #include "sys/ttyio.h"
38: #include "sys/ttyld.h"
39: #include "sys/bufld.h"
40: #include "sys/mesg.h"
41: #include "sys/nttyio.h"
42: #include "sys/nttyld.h"
43: #include "sys/mount.h"
44: extern struct bdevsw cbsbdev;
45: extern struct bdevsw swbdev;
46: extern struct bdevsw rabdev;
47: extern struct bdevsw tabdev;
48: int nblkdev = 11;
49: extern struct cdevsw cncdev;
50: extern struct cdevsw dzcdev;
51: extern struct cdevsw mmcdev;
52: extern struct cdevsw clkcdev;
53: extern struct cdevsw swcdev;
54: extern struct cdevsw cbscdev;
55: extern struct cdevsw bnacdev;
56: extern struct cdevsw kmccdev;
57: extern struct cdevsw racdev;
58: extern struct cdevsw kdicdev;
59: extern struct cdevsw fdcdev;
60: extern struct cdevsw ipcdev;
61: extern struct cdevsw tcpcdev;
62: extern struct cdevsw udpcdev;
63: extern struct cdevsw tacdev;
64: int nchrdev = 60;
65: extern struct fstypsw fsfs;
66: extern struct fstypsw prfs;
67: extern struct fstypsw msfs;
68: extern struct fstypsw nbfs;
69: extern struct fstypsw erfs;
70: extern struct fstypsw pipfs;
71: int nfstyp = 7;
72: extern struct streamtab ttystream;
73: extern struct streamtab msgstream;
74: extern struct streamtab nttystream;
75: extern struct streamtab bufldstream;
76: extern struct streamtab rmsgstream;
77: extern struct streamtab ipstream;
78: extern struct streamtab tcpstream;
79: extern struct streamtab udpstream;
80: extern struct streamtab connstream;
81: extern struct streamtab xpstream;
82: int nstreamtab = 20;
83:
84: struct bdevsw *bdevsw[] = {
85: NULL,
86: NULL,
87: NULL,
88: &cbsbdev, /* 3 */
89: &swbdev, /* 4 */
90: NULL,
91: NULL,
92: &rabdev, /* 7 */
93: NULL,
94: NULL,
95: &tabdev, /* 10 */
96: };
97: struct cdevsw *cdevsw[] = {
98: &cncdev, /* 0 */
99: &dzcdev, /* 1 */
100: NULL,
101: &mmcdev, /* 3 */
102: NULL,
103: NULL,
104: &clkcdev, /* 6 */
105: &swcdev, /* 7 */
106: NULL,
107: NULL,
108: NULL,
109: NULL,
110: &cbscdev, /* 12 */
111: NULL,
112: &bnacdev, /* 14 */
113: NULL,
114: NULL,
115: NULL,
116: NULL,
117: NULL,
118: NULL,
119: NULL,
120: NULL,
121: NULL,
122: NULL,
123: NULL,
124: &kmccdev, /* 26 */
125: NULL,
126: &racdev, /* 28 */
127: NULL,
128: NULL,
129: &kdicdev, /* 31 */
130: NULL,
131: NULL,
132: NULL,
133: NULL,
134: NULL,
135: NULL,
136: NULL,
137: NULL,
138: &fdcdev, /* 40 */
139: NULL,
140: &ipcdev, /* 42 */
141: &tcpcdev, /* 43 */
142: NULL,
143: NULL,
144: NULL,
145: NULL,
146: NULL,
147: NULL,
148: &udpcdev, /* 50 */
149: NULL,
150: NULL,
151: NULL,
152: NULL,
153: NULL,
154: NULL,
155: NULL,
156: NULL,
157: &tacdev, /* 59 */
158: };
159: struct fstypsw *fstypsw[] = {
160: &fsfs, /* 0 */
161: NULL,
162: &prfs, /* 2 */
163: &msfs, /* 3 */
164: &nbfs, /* 4 */
165: &erfs, /* 5 */
166: &pipfs, /* 6 */
167: };
168: struct streamtab *streamtab[] = {
169: &ttystream, /* 0 */
170: NULL,
171: NULL,
172: NULL,
173: &msgstream, /* 4 */
174: NULL,
175: &nttystream, /* 6 */
176: &bufldstream, /* 7 */
177: NULL,
178: &rmsgstream, /* 9 */
179: &ipstream, /* 10 */
180: &tcpstream, /* 11 */
181: NULL,
182: NULL,
183: &udpstream, /* 14 */
184: NULL,
185: NULL,
186: NULL,
187: &connstream, /* 18 */
188: &xpstream, /* 19 */
189: };
190: int proccnt = 600;
191: struct proc proc[600];
192: int filecnt = 1500;
193: struct file file[1500];
194: int inodecnt = 1700;
195: struct inode inode[1700];
196: int calloutcnt = 50;
197: struct callout callout[50];
198: int textcnt = 120;
199: struct text text[120];
200: int argcnt = 16;
201: struct map argmap[16];
202: int swmapcnt = 600;
203: struct map swapmap[600];
204: int kernelcnt = 500;
205: struct map kernelmap[500];
206: int swbufcnt = 50;
207: struct buf swapbuf[50];
208: struct swapinfo swapinfo[50];
209: int bufhcnt = 599;
210: struct bufhd bufhash[599];
211: int queuecnt = 3000;
212: struct queue queue[3000];
213: int streamcnt = 800;
214: struct stdata streams[800];
215: int blkcnt = 1600;
216: struct block cblock[1600];
217: int blkbcnt = 20;
218: struct buf *cblkbuf[20];
219: int dstflag = 1;
220: int timezone = 300;
221: int maxtsize = 12256;
222: int maxdsize = 204800;
223: int maxssize = 204800;
224:
225: struct nextab nextab[] = {
226: 2, 2,
227: 3, 2,
228: 2, 7,
229: 3, 0,
230: 2, 4,
231: 2, 3,
232: 3, 4,
233: -1
234: };
235: struct biaddr biaaddr[] = {
236: {-1},
237: {-1},
238: {0, 0x0, 0x400, 2},
239: {1, 0x0, 0x600, 3},
240: };
241: int biacnt = 4;
242: int bianode[4];
243: struct biaddr bnaaddr[] = {
244: {2, 0x40, 0x0, 2},
245: };
246: int bnacnt = 1;
247: struct bnactl bna[1];
248: struct bnabuf bnabuf[1];
249: struct biaddr ubaaddr[] = {
250: {3, 0x20, 0x200, 3},
251: {4, 0x30, 0xa00, 2},
252: };
253: int ubacnt = 2;
254: struct uba uba[2];
255: struct ubaddr udaddr[] = {
256: {0774500, 0310, 1},
257: {-1, -1, -1},
258: {-1, -1, -1},
259: {0760404, 0320, 0},
260: };
261: int udcnt = 4;
262: struct ud ud[4];
263: extern struct msportsw udport;
264: extern struct msportsw bdport;
265: int nmsport = 2;
266: struct msportsw *msportsw[] = {
267: &udport, /* 0 */
268: &bdport, /* 1 */
269: };
270: struct msaddr taaddr[] = {
271: {0, 0, 0},
272: {3, 0, 0},
273: };
274: int tacnt = 2;
275: struct tatape tatape[2];
276: struct buf tabuf[2];
277: struct biaddr bdaddr[] = {
278: {5, 0x10, 0x0, 2},
279: {6, 0x10, 0x0, 3},
280: };
281: int bdcnt = 2;
282: struct bd bd[2];
283: struct msaddr raaddr[] = {
284: {0, 1, 0},
285: {1, 1, 1},
286: {0, 1, 2},
287: {1, 1, 3},
288: {0, 1, 4},
289: {1, 1, 5},
290: {0, 1, 6},
291: {1, 1, 7},
292: };
293: int racnt = 8;
294: struct radisk radisk[8];
295: struct buf rabuf[8];
296: struct ubaddr kmcaddr[] = {
297: {0760200, 0600, 0},
298: {0760210, 0610, 0},
299: };
300: int kmccnt = 2;
301: struct kmc kmc[2];
302: struct ubaddr dzaddr[] = {
303: {0760100, 0300, 0},
304: {0760110, 0310, 0},
305: };
306: int dzcnt = 16;
307: struct dz dz[16];
308: int kdicnt = 2;
309: struct kdikmc kdikmc[2];
310: struct kmcdk k[2];
311: int cncnt = 0;
312: int ipcnt = 4;
313: struct ipif ipif[4];
314: struct ipif *ipifsort[4];
315: int udpcnt = 16;
316: struct udp udpconn[16];
317: int tcpcnt = 256;
318: struct tcpcb tcpcb[256];
319: int arpcnt = 128;
320: struct ip_arp ip_arps[128];
321: int ttycnt = 128;
322: struct ttyld ttyld[128];
323: int nttycnt = 32;
324: struct nttyld ntty[32];
325: int msgcnt = 300;
326: struct imesg mesg[300];
327: int xpcnt = 0;
328: int bufldcnt = 32;
329: struct bufld bufld[32];
330: int fscnt = 30;
331: struct mount fsmtab[30];
332: int rootfstyp = 0;
333: dev_t rootdev = makedev(7, 64);
334: dev_t swapdev = makedev(4, 0);
335: struct swdevt swdevt[] = {
336: {makedev(7, 34), 249848L},
337: {makedev(7, 35), 249848L},
338: };
339: int nswdevt = 2;
340: extern int nulldev();
341: int (*dumprout)() = nulldev;
342: int dumpunit = 0;
343: long dumplow = 0;
344: long dumpsize = 0;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.