|
|
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/nexus.h" ! 17: #include "sys/ubaddr.h" ! 18: #include "sys/uba.h" ! 19: #include "sys/biaddr.h" ! 20: #include "sys/uda.h" ! 21: #include "sys/bda.h" ! 22: #include "sys/inet/in.h" ! 23: #include "sys/inet/ip_var.h" ! 24: #include "sys/inet/udp.h" ! 25: #include "sys/inet/tcp.h" ! 26: #include "sys/inet/tcp_timer.h" ! 27: #include "sys/inet/tcp_var.h" ! 28: #include "sys/dz.h" ! 29: #include "sys/om.h" ! 30: #include "sys/im.h" ! 31: #include "sys/kmc.h" ! 32: #include "sys/kdi.h" ! 33: #include "sys/mscp.h" ! 34: #include "sys/scsi.h" ! 35: #include "sys/udaioc.h" ! 36: #include "sys/ra.h" ! 37: #include "sys/ta.h" ! 38: #include "sys/bvp.h" ! 39: #include "sys/debna.h" ! 40: #include "sys/ttyio.h" ! 41: #include "sys/ttyld.h" ! 42: #include "sys/bufld.h" ! 43: #include "sys/mesg.h" ! 44: #include "sys/dkp.h" ! 45: #include "sys/mount.h" ! 46: extern struct bdevsw swbdev; ! 47: extern struct bdevsw rabdev; ! 48: extern struct bdevsw tabdev; ! 49: int nblkdev = 11; ! 50: extern struct cdevsw cncdev; ! 51: extern struct cdevsw dzcdev; ! 52: extern struct cdevsw mmcdev; ! 53: extern struct cdevsw clkcdev; ! 54: extern struct cdevsw swcdev; ! 55: extern struct cdevsw scsicdev; ! 56: extern struct cdevsw bnacdev; ! 57: extern struct cdevsw kmccdev; ! 58: extern struct cdevsw racdev; ! 59: extern struct cdevsw kdicdev; ! 60: extern struct cdevsw omcdev; ! 61: extern struct cdevsw fdcdev; ! 62: extern struct cdevsw ipcdev; ! 63: extern struct cdevsw tcpcdev; ! 64: extern struct cdevsw udpcdev; ! 65: extern struct cdevsw gpibcdev; ! 66: extern struct cdevsw imcdev; ! 67: extern struct cdevsw tacdev; ! 68: int nchrdev = 60; ! 69: extern struct fstypsw fsfs; ! 70: extern struct fstypsw prfs; ! 71: extern struct fstypsw msfs; ! 72: extern struct fstypsw nbfs; ! 73: extern struct fstypsw erfs; ! 74: extern struct fstypsw pipfs; ! 75: int nfstyp = 7; ! 76: extern struct streamtab ttystream; ! 77: extern struct streamtab cdkpstream; ! 78: extern struct streamtab rdkstream; ! 79: extern struct streamtab msgstream; ! 80: extern struct streamtab dkpstream; ! 81: extern struct streamtab bufldstream; ! 82: extern struct streamtab rmsgstream; ! 83: extern struct streamtab ipstream; ! 84: extern struct streamtab tcpstream; ! 85: extern struct streamtab udpstream; ! 86: extern struct streamtab connstream; ! 87: extern struct streamtab xpstream; ! 88: int nstreamtab = 20; ! 89: ! 90: struct bdevsw *bdevsw[] = { ! 91: NULL, ! 92: NULL, ! 93: NULL, ! 94: NULL, ! 95: &swbdev, /* 4 */ ! 96: NULL, ! 97: NULL, ! 98: &rabdev, /* 7 */ ! 99: NULL, ! 100: NULL, ! 101: &tabdev, /* 10 */ ! 102: }; ! 103: struct cdevsw *cdevsw[] = { ! 104: &cncdev, /* 0 */ ! 105: &dzcdev, /* 1 */ ! 106: NULL, ! 107: &mmcdev, /* 3 */ ! 108: NULL, ! 109: NULL, ! 110: &clkcdev, /* 6 */ ! 111: &swcdev, /* 7 */ ! 112: NULL, ! 113: NULL, ! 114: NULL, ! 115: &scsicdev, /* 11 */ ! 116: NULL, ! 117: NULL, ! 118: &bnacdev, /* 14 */ ! 119: NULL, ! 120: NULL, ! 121: NULL, ! 122: NULL, ! 123: NULL, ! 124: NULL, ! 125: NULL, ! 126: NULL, ! 127: NULL, ! 128: NULL, ! 129: NULL, ! 130: &kmccdev, /* 26 */ ! 131: NULL, ! 132: &racdev, /* 28 */ ! 133: NULL, ! 134: NULL, ! 135: &kdicdev, /* 31 */ ! 136: NULL, ! 137: NULL, ! 138: NULL, ! 139: NULL, ! 140: NULL, ! 141: NULL, ! 142: NULL, ! 143: &omcdev, /* 39 */ ! 144: &fdcdev, /* 40 */ ! 145: NULL, ! 146: &ipcdev, /* 42 */ ! 147: &tcpcdev, /* 43 */ ! 148: NULL, ! 149: NULL, ! 150: NULL, ! 151: NULL, ! 152: NULL, ! 153: NULL, ! 154: &udpcdev, /* 50 */ ! 155: NULL, ! 156: NULL, ! 157: NULL, ! 158: &gpibcdev, /* 54 */ ! 159: NULL, ! 160: &imcdev, /* 56 */ ! 161: NULL, ! 162: NULL, ! 163: &tacdev, /* 59 */ ! 164: }; ! 165: struct fstypsw *fstypsw[] = { ! 166: &fsfs, /* 0 */ ! 167: NULL, ! 168: &prfs, /* 2 */ ! 169: &msfs, /* 3 */ ! 170: &nbfs, /* 4 */ ! 171: &erfs, /* 5 */ ! 172: &pipfs, /* 6 */ ! 173: }; ! 174: struct streamtab *streamtab[] = { ! 175: &ttystream, /* 0 */ ! 176: &cdkpstream, /* 1 */ ! 177: &rdkstream, /* 2 */ ! 178: NULL, ! 179: &msgstream, /* 4 */ ! 180: &dkpstream, /* 5 */ ! 181: NULL, ! 182: &bufldstream, /* 7 */ ! 183: NULL, ! 184: &rmsgstream, /* 9 */ ! 185: &ipstream, /* 10 */ ! 186: &tcpstream, /* 11 */ ! 187: NULL, ! 188: NULL, ! 189: &udpstream, /* 14 */ ! 190: NULL, ! 191: NULL, ! 192: NULL, ! 193: &connstream, /* 18 */ ! 194: &xpstream, /* 19 */ ! 195: }; ! 196: int proccnt = 600; ! 197: struct proc proc[600]; ! 198: int filecnt = 1500; ! 199: struct file file[1500]; ! 200: int inodecnt = 1700; ! 201: struct inode inode[1700]; ! 202: int calloutcnt = 50; ! 203: struct callout callout[50]; ! 204: int textcnt = 120; ! 205: struct text text[120]; ! 206: int argcnt = 16; ! 207: struct map argmap[16]; ! 208: int swmapcnt = 600; ! 209: struct map swapmap[600]; ! 210: int kernelcnt = 500; ! 211: struct map kernelmap[500]; ! 212: int swbufcnt = 50; ! 213: struct buf swapbuf[50]; ! 214: struct swapinfo swapinfo[50]; ! 215: int bufhcnt = 599; ! 216: struct bufhd bufhash[599]; ! 217: int queuecnt = 3000; ! 218: struct queue queue[3000]; ! 219: int streamcnt = 800; ! 220: struct stdata streams[800]; ! 221: int blkcnt = 1600; ! 222: struct block cblock[1600]; ! 223: int blkbcnt = 20; ! 224: struct buf *cblkbuf[20]; ! 225: int dstflag = 1; ! 226: int timezone = 300; ! 227: int maxtsize = 12256; ! 228: int maxdsize = 204800; ! 229: int maxssize = 204800; ! 230: ! 231: struct nextab nextab[] = { ! 232: 2, 2, ! 233: 3, 2, ! 234: 2, 4, ! 235: 3, 4, ! 236: 2, 7, ! 237: 2, 0, ! 238: 3, 0, ! 239: 2, 6, ! 240: -1 ! 241: }; ! 242: struct biaddr biaaddr[] = { ! 243: {-1}, ! 244: {-1}, ! 245: {0, 0x0, 0x400, 2}, ! 246: {1, 0x0, 0x600, 3}, ! 247: }; ! 248: int biacnt = 4; ! 249: int bianode[4]; ! 250: struct biaddr bdaddr[] = { ! 251: {2, 0x10, 0x0, 2}, ! 252: {3, 0x18, 0x0, 3}, ! 253: }; ! 254: int bdcnt = 2; ! 255: struct bd bd[2]; ! 256: struct biaddr bnaaddr[] = { ! 257: {4, 0x40, 0x0, 2}, ! 258: }; ! 259: int bnacnt = 1; ! 260: struct bnactl bna[1]; ! 261: struct bnabuf bnabuf[1]; ! 262: struct biaddr ubaaddr[] = { ! 263: {5, 0x20, 0x200, 2}, ! 264: {6, 0x20, 0x800, 3}, ! 265: {7, 0x30, 0xa00, 2}, ! 266: }; ! 267: int ubacnt = 3; ! 268: struct uba uba[3]; ! 269: struct ubaddr udaddr[] = { ! 270: {0774500, 0300, 2}, ! 271: {-1, -1, -1}, ! 272: {0760334, 0410, 1}, ! 273: {0760404, 0310, 1}, ! 274: {0760354, 0420, 0}, ! 275: }; ! 276: int udcnt = 5; ! 277: struct ud ud[5]; ! 278: extern struct msportsw udport; ! 279: extern struct msportsw bdport; ! 280: int nmsport = 2; ! 281: struct msportsw *msportsw[] = { ! 282: &udport, /* 0 */ ! 283: &bdport, /* 1 */ ! 284: }; ! 285: struct msaddr taaddr[] = { ! 286: {0, 0, 0}, ! 287: {3, 0, 0}, ! 288: }; ! 289: int tacnt = 2; ! 290: struct tatape tatape[2]; ! 291: struct buf tabuf[2]; ! 292: struct ubaddr kmcaddr[] = { ! 293: {0760200, 0600, 0}, ! 294: {0760210, 0610, 0}, ! 295: }; ! 296: int kmccnt = 2; ! 297: struct kmc kmc[2]; ! 298: struct ubaddr dzaddr[] = { ! 299: {0760100, 0300, 0}, ! 300: }; ! 301: int dzcnt = 8; ! 302: struct dz dz[8]; ! 303: struct ubaddr scsiaddr[] = { ! 304: {0763100, 0700, 0}, ! 305: }; ! 306: int scsicnt = 1; ! 307: struct scsi scsi[1]; ! 308: struct msaddr raaddr[] = { ! 309: {0, 1, 0}, ! 310: {0, 1, 1}, ! 311: {0, 1, 2}, ! 312: {0, 1, 3}, ! 313: {1, 1, 4}, ! 314: {1, 1, 5}, ! 315: {2, 0, 1}, ! 316: {2, 0, 2}, ! 317: {-1}, ! 318: {-1}, ! 319: {-1}, ! 320: {-1}, ! 321: {-1}, ! 322: {-1}, ! 323: {-1}, ! 324: {-1}, ! 325: {2, 0, 3}, ! 326: {4, 0, 0}, ! 327: {4, 0, 1}, ! 328: {4, 0, 2}, ! 329: {4, 0, 3}, ! 330: {2, 0, 0}, ! 331: }; ! 332: int racnt = 22; ! 333: struct radisk radisk[22]; ! 334: struct buf rabuf[22]; ! 335: struct ubaddr omaddr[] = { ! 336: {0772410, 0124, 1}, ! 337: {0772430, 0134, 1}, ! 338: {0772450, 0114, 1}, ! 339: {0772470, 0104, 1}, ! 340: }; ! 341: int omcnt = 4; ! 342: struct om om[4]; ! 343: struct ubaddr imaddr[] = { ! 344: {0772670, 0164, 1}, ! 345: }; ! 346: int imcnt = 1; ! 347: struct im im[1]; ! 348: struct ubaddr gpibaddr[] = { ! 349: {0767710, 0350, 1}, ! 350: }; ! 351: int gpibcnt = 1; ! 352: int kdicnt = 2; ! 353: struct kdikmc kdikmc[2]; ! 354: struct kmcdk k[2]; ! 355: int cncnt = 0; ! 356: int ttycnt = 128; ! 357: struct ttyld ttyld[128]; ! 358: int msgcnt = 300; ! 359: struct imesg mesg[300]; ! 360: int rdkcnt = 0; ! 361: int xpcnt = 0; ! 362: int dkpcnt = 256; ! 363: struct dkp dkp[256]; ! 364: int cdkpcnt = 0; ! 365: int fscnt = 48; ! 366: struct mount fsmtab[48]; ! 367: int ipcnt = 4; ! 368: struct ipif ipif[4]; ! 369: struct ipif *ipifsort[4]; ! 370: int udpcnt = 16; ! 371: struct udp udpconn[16]; ! 372: int tcpcnt = 96; ! 373: struct tcpcb tcpcb[96]; ! 374: int arpcnt = 128; ! 375: struct ip_arp ip_arps[128]; ! 376: int bufldcnt = 4; ! 377: struct bufld bufld[4]; ! 378: int rootfstyp = 0; ! 379: dev_t rootdev = makedev(7, 64); ! 380: dev_t swapdev = makedev(4, 0); ! 381: struct swdevt swdevt[] = { ! 382: {makedev(7, 1), 20480L}, ! 383: {makedev(7, 9), 20480L}, ! 384: {makedev(7, 26), 249848L}, ! 385: {makedev(7, 28), 249848L}, ! 386: }; ! 387: int nswdevt = 4; ! 388: extern int bddump(); ! 389: int (*dumprout)() = bddump; ! 390: int dumpunit = 9219; ! 391: long dumplow = 530416; ! 392: long dumpsize = 249848;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.