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