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