|
|
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: {0774500, 0270, 0},
219: };
220: int udcnt = 2;
221: struct ud ud[2];
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: };
233: int racnt = 4;
234: struct radisk radisk[4];
235: struct buf rabuf[4];
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: int cncnt = 0;
254: int ipcnt = 4;
255: struct ipif ipif[4];
256: struct ipif *ipifsort[4];
257: int udpcnt = 16;
258: struct udp udpconn[16];
259: int tcpcnt = 32;
260: struct tcpcb tcpcb[32];
261: int arpcnt = 128;
262: struct ip_arp ip_arps[128];
263: int ttycnt = 32;
264: struct ttyld ttyld[32];
265: int msgcnt = 256;
266: struct imesg mesg[256];
267: int dkpcnt = 96;
268: struct dkp dkp[96];
269: int xpcnt = 0;
270: int cdkpcnt = 0;
271: int bufldcnt = 4;
272: struct bufld bufld[4];
273: int fscnt = 10;
274: struct mount fsmtab[10];
275: int rootfstyp = 0;
276: dev_t rootdev = makedev(7, 64);
277: dev_t swapdev = makedev(4, 0);
278: struct swdevt swdevt[] = {
279: {makedev(7, 1), 20480L},
280: {makedev(7, 9), 20480L},
281: {makedev(7, 17), 20480L},
282: {makedev(7, 25), 20480L},
283: };
284: int nswdevt = 4;
285: extern int uddump();
286: int (*dumprout)() = uddump;
287: int dumpunit = 0;
288: long dumplow = 10240;
289: long dumpsize = 20480;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.