|
|
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: {0772150, 0320, 0},
215: {0774500, 0264, 0},
216: };
217: int udcnt = 2;
218: struct ud ud[2];
219: extern struct msportsw udport;
220: int nmsport = 1;
221: struct msportsw *msportsw[] = {
222: &udport, /* 0 */
223: };
224: struct msaddr raaddr[] = {
225: {0, 0, 0},
226: {0, 0, 1},
227: {0, 0, 2},
228: {0, 0, 3},
229: };
230: int racnt = 4;
231: struct radisk radisk[4];
232: struct buf rabuf[4];
233: struct msaddr taaddr[] = {
234: {1, 0, 0},
235: };
236: int tacnt = 1;
237: struct tatape tatape[1];
238: struct buf tabuf[1];
239: struct ubaddr dkaddr[] = {
240: {0767770, 0300, 0},
241: };
242: int dkcnt = 256;
243: struct dk dk[256];
244: char dkstate[256];
245: struct ubaddr qeaddr[] = {
246: {0774440, 0310, 0},
247: };
248: int qecnt = 1;
249: struct qe qe[1];
250: int cncnt = 0;
251: int ttycnt = 64;
252: struct ttyld ttyld[64];
253: int msgcnt = 256;
254: struct imesg mesg[256];
255: int rdkcnt = 0;
256: int dkpcnt = 96;
257: struct dkp dkp[96];
258: int xpcnt = 0;
259: int cdkpcnt = 0;
260: int ipcnt = 32;
261: struct ipif ipif[32];
262: struct ipif *ipifsort[32];
263: int udpcnt = 16;
264: struct udp udpconn[16];
265: int tcpcnt = 32;
266: struct tcpcb tcpcb[32];
267: int arpcnt = 128;
268: struct ip_arp ip_arps[128];
269: int bufldcnt = 4;
270: struct bufld bufld[4];
271: int fscnt = 24;
272: struct mount fsmtab[24];
273: int blkbcnt = 40;
274: struct buf *cblkbuf[40];
275: int streamcnt = 512;
276: struct stdata streams[512];
277: int rootfstyp = 0;
278: dev_t rootdev = makedev(7, 64);
279: dev_t swapdev = makedev(4, 0);
280: struct swdevt swdevt[] = {
281: {makedev(7, 1), 20480L},
282: {makedev(7, 9), 20480L},
283: };
284: int nswdevt = 2;
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.