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