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