|
|
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 rdkstream;
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: NULL,
147: &qecdev, /* 58 */
148: &tacdev, /* 59 */
149: };
150: struct fstypsw *fstypsw[] = {
151: &fsfs, /* 0 */
152: &nafs, /* 1 */
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: &rdkstream, /* 2 */
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 blkcnt = 1200;
205: struct block cblock[1200];
206: int dstflag = 1;
207: int timezone = 300;
208: int maxtsize = 12256;
209: int maxdsize = 24544;
210: int maxssize = 24544;
211: int ubacnt = 1;
212: struct uba uba[1];
213: struct ubaddr udaddr[] = {
214: {0760334, 0320, 0},
215: {0772150, 0254, 0},
216: {0774500, 0264, 0},
217: };
218: int udcnt = 3;
219: struct ud ud[3];
220: extern struct msportsw udport;
221: int nmsport = 1;
222: struct msportsw *msportsw[] = {
223: &udport, /* 0 */
224: };
225: struct msaddr raaddr[] = {
226: {0, 0, 0},
227: {0, 0, 1},
228: {0, 0, 2},
229: {0, 0, 3},
230: {1, 0, 0},
231: {1, 0, 1},
232: {1, 0, 2},
233: {1, 0, 3},
234: };
235: int racnt = 8;
236: struct radisk radisk[8];
237: struct buf rabuf[8];
238: struct msaddr taaddr[] = {
239: {2, 0, 0},
240: };
241: int tacnt = 1;
242: struct tatape tatape[1];
243: struct buf tabuf[1];
244: struct ubaddr dkaddr[] = {
245: {0767770, 0300, 0},
246: };
247: int dkcnt = 256;
248: struct dk dk[256];
249: char dkstate[256];
250: struct ubaddr qeaddr[] = {
251: {0774440, 0310, 0},
252: };
253: int qecnt = 1;
254: struct qe qe[1];
255: int cncnt = 0;
256: int ttycnt = 64;
257: struct ttyld ttyld[64];
258: int msgcnt = 256;
259: struct imesg mesg[256];
260: int rdkcnt = 0;
261: int dkpcnt = 96;
262: struct dkp dkp[96];
263: int xpcnt = 0;
264: int cdkpcnt = 0;
265: int ipcnt = 32;
266: struct ipif ipif[32];
267: struct ipif *ipifsort[32];
268: int udpcnt = 16;
269: struct udp udpconn[16];
270: int tcpcnt = 32;
271: struct tcpcb tcpcb[32];
272: int arpcnt = 128;
273: struct ip_arp ip_arps[128];
274: int bufldcnt = 4;
275: struct bufld bufld[4];
276: int fscnt = 24;
277: struct mount fsmtab[24];
278: int blkbcnt = 40;
279: struct buf *cblkbuf[40];
280: int streamcnt = 512;
281: struct stdata streams[512];
282: int rootfstyp = 0;
283: dev_t rootdev = makedev(7, 64);
284: dev_t swapdev = makedev(4, 0);
285: struct swdevt swdevt[] = {
286: {makedev(7, 1), 20480L},
287: {makedev(7, 9), 20480L},
288: };
289: int nswdevt = 2;
290: extern int uddump();
291: int (*dumprout)() = uddump;
292: int dumpunit = 0;
293: long dumplow = 10240;
294: long dumpsize = 20480;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.