|
|
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/lnode.h"
17: #include "sys/nexus.h"
18: #include "sys/ubaddr.h"
19: #include "sys/uba.h"
20: #include "sys/biaddr.h"
21: #include "sys/uda.h"
22: #include "sys/bda.h"
23: #include "sys/inet/in.h"
24: #include "sys/inet/ip_var.h"
25: #include "sys/inet/udp.h"
26: #include "sys/inet/tcp.h"
27: #include "sys/inet/tcp_timer.h"
28: #include "sys/inet/tcp_var.h"
29: #include "sys/mscp.h"
30: #include "sys/udaioc.h"
31: #include "sys/ra.h"
32: #include "sys/ta.h"
33: #include "sys/ttyio.h"
34: #include "sys/ttyld.h"
35: #include "sys/mesg.h"
36: #include "sys/dkp.h"
37: #include "sys/mount.h"
38: extern struct bdevsw swbdev;
39: extern struct bdevsw rabdev;
40: extern struct bdevsw tabdev;
41: int nblkdev = 11;
42: extern struct cdevsw cncdev;
43: extern struct cdevsw mmcdev;
44: extern struct cdevsw swcdev;
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 tacdev;
51: int nchrdev = 60;
52: extern struct fstypsw fsfs;
53: extern struct fstypsw nafs;
54: extern struct fstypsw prfs;
55: extern struct fstypsw msfs;
56: extern struct fstypsw nbfs;
57: extern struct fstypsw pipfs;
58: int nfstyp = 7;
59: extern struct streamtab ttystream;
60: extern struct streamtab cdkpstream;
61: extern struct streamtab rdkstream;
62: extern struct streamtab msgstream;
63: extern struct streamtab dkpstream;
64: extern struct streamtab rmsgstream;
65: extern struct streamtab ipstream;
66: extern struct streamtab tcpstream;
67: extern struct streamtab udpstream;
68: extern struct streamtab connstream;
69: int nstreamtab = 19;
70:
71: struct bdevsw *bdevsw[] = {
72: NULL,
73: NULL,
74: NULL,
75: NULL,
76: &swbdev, /* 4 */
77: NULL,
78: NULL,
79: &rabdev, /* 7 */
80: NULL,
81: NULL,
82: &tabdev, /* 10 */
83: };
84: struct cdevsw *cdevsw[] = {
85: &cncdev, /* 0 */
86: NULL,
87: NULL,
88: &mmcdev, /* 3 */
89: NULL,
90: NULL,
91: NULL,
92: &swcdev, /* 7 */
93: NULL,
94: NULL,
95: NULL,
96: NULL,
97: NULL,
98: NULL,
99: NULL,
100: NULL,
101: NULL,
102: NULL,
103: NULL,
104: NULL,
105: NULL,
106: NULL,
107: NULL,
108: NULL,
109: NULL,
110: NULL,
111: NULL,
112: NULL,
113: &racdev, /* 28 */
114: NULL,
115: NULL,
116: NULL,
117: NULL,
118: NULL,
119: NULL,
120: NULL,
121: NULL,
122: NULL,
123: NULL,
124: NULL,
125: &fdcdev, /* 40 */
126: NULL,
127: &ipcdev, /* 42 */
128: &tcpcdev, /* 43 */
129: NULL,
130: NULL,
131: NULL,
132: NULL,
133: NULL,
134: NULL,
135: &udpcdev, /* 50 */
136: NULL,
137: NULL,
138: NULL,
139: NULL,
140: NULL,
141: NULL,
142: NULL,
143: NULL,
144: &tacdev, /* 59 */
145: };
146: struct fstypsw *fstypsw[] = {
147: &fsfs, /* 0 */
148: &nafs, /* 1 */
149: &prfs, /* 2 */
150: &msfs, /* 3 */
151: &nbfs, /* 4 */
152: NULL,
153: &pipfs, /* 6 */
154: };
155: struct streamtab *streamtab[] = {
156: &ttystream, /* 0 */
157: &cdkpstream, /* 1 */
158: &rdkstream, /* 2 */
159: NULL,
160: &msgstream, /* 4 */
161: &dkpstream, /* 5 */
162: NULL,
163: NULL,
164: NULL,
165: &rmsgstream, /* 9 */
166: &ipstream, /* 10 */
167: &tcpstream, /* 11 */
168: NULL,
169: NULL,
170: &udpstream, /* 14 */
171: NULL,
172: NULL,
173: NULL,
174: &connstream, /* 18 */
175: };
176: int proccnt = 600;
177: struct proc proc[600];
178: int inodecnt = 1700;
179: struct inode inode[1700];
180: int calloutcnt = 50;
181: struct callout callout[50];
182: int textcnt = 120;
183: struct text text[120];
184: int argcnt = 16;
185: struct map argmap[16];
186: int swmapcnt = 600;
187: struct map swapmap[600];
188: int kernelcnt = 500;
189: struct map kernelmap[500];
190: int swbufcnt = 50;
191: struct buf swapbuf[50];
192: struct swapinfo swapinfo[50];
193: int bufhcnt = 599;
194: struct bufhd bufhash[599];
195: int streamcnt = 800;
196: struct stdata streams[800];
197: int blkcnt = 1600;
198: struct block cblock[1600];
199: int blkbcnt = 20;
200: struct buf *cblkbuf[20];
201: int lnodecnt = 20;
202: struct kern_lnode lnodes[20];
203: int hz = 60;
204: int dstflag = 1;
205: int timezone = 300;
206: int maxtsize = 12256;
207: int maxdsize = 204800;
208: int maxssize = 204800;
209:
210: struct nextab nextab[] = {
211: 0, 0,
212: 0, 4,
213: 0, 1,
214: 0, 3,
215: 0, 2,
216: -1
217: };
218: struct biaddr ubaaddr[] = {
219: {0, 0x20, 0x200, 0},
220: {1, 0x30, 0x800, 0},
221: };
222: int ubacnt = 2;
223: struct uba uba[2];
224: struct biaddr bdaddr[] = {
225: {2, 0x10, 0x0, 0},
226: {3, 0x18, 0x0, 0},
227: };
228: int bdcnt = 2;
229: struct bd bd[2];
230: struct biaddr biaaddr[] = {
231: {4, 0x0, 0x400, 0},
232: };
233: int biacnt = 1;
234: int bianode[1];
235: struct ubaddr udaddr[] = {
236: {0774500, 0300, 1},
237: {0772150, 0300, 0},
238: {0760404, 0310, 0},
239: };
240: int udcnt = 3;
241: struct ud ud[3];
242: extern struct msportsw udport;
243: extern struct msportsw bdport;
244: int nmsport = 2;
245: struct msportsw *msportsw[] = {
246: &udport, /* 0 */
247: &bdport, /* 1 */
248: };
249: struct msaddr raaddr[] = {
250: {0, 1, 0},
251: {1, 1, 0},
252: {0, 1, 1},
253: {1, 1, 1},
254: {0, 1, 2},
255: {-1},
256: {-1},
257: {1, 0, 0},
258: };
259: int racnt = 8;
260: struct radisk radisk[8];
261: struct buf rabuf[8];
262: struct msaddr taaddr[] = {
263: {0, 0, 0},
264: {2, 0, 0},
265: {2, 0, 1},
266: };
267: int tacnt = 3;
268: struct tatape tatape[3];
269: struct buf tabuf[3];
270: int cncnt = 0;
271: int ipcnt = 32;
272: struct ipif ipif[32];
273: struct ipif *ipifsort[32];
274: int udpcnt = 16;
275: struct udp udpconn[16];
276: int tcpcnt = 32;
277: struct tcpcb tcpcb[32];
278: int arpcnt = 128;
279: struct ip_arp ip_arps[128];
280: int ttycnt = 128;
281: struct ttyld ttyld[128];
282: int msgcnt = 256;
283: struct imesg mesg[256];
284: int rdkcnt = 0;
285: int dkpcnt = 96;
286: struct dkp dkp[96];
287: int cdkpcnt = 0;
288: int fscnt = 24;
289: struct mount fsmtab[24];
290: int filecnt = 1536;
291: struct file file[1536];
292: int queuecnt = 3072;
293: struct queue queue[3072];
294: int rootfstyp = 0;
295: dev_t rootdev = makedev(7, 96);
296: dev_t swapdev = makedev(4, 0);
297: struct swdevt swdevt[] = {
298: {makedev(7, 35), 249848L},
299: };
300: int nswdevt = 1;
301: extern int bddump();
302: int (*dumprout)() = bddump;
303: int dumpunit = 260;
304: long dumplow = 280568;
305: long dumpsize = 249848;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.