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