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