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