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