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