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