|
|
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/mba.h" ! 17: #include "sys/mbaddr.h" ! 18: #include "sys/nxaddr.h" ! 19: #include "sys/nexus.h" ! 20: #include "sys/ubaddr.h" ! 21: #include "sys/uba.h" ! 22: #include "sys/uda.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/subaddr.h" ! 30: #include "sys/dz.h" ! 31: #include "sys/kmc.h" ! 32: #include "sys/kdi.h" ! 33: #include "sys/mscp.h" ! 34: #include "sys/ni1010a.h" ! 35: #include "sys/udaioc.h" ! 36: #include "sys/ra.h" ! 37: #include "sys/tu78.h" ! 38: #include "sys/hp.h" ! 39: #include "sys/bad144.h" ! 40: #include "sys/ttyio.h" ! 41: #include "sys/ttyld.h" ! 42: #include "sys/bufld.h" ! 43: #include "sys/mesg.h" ! 44: #include "sys/nttyio.h" ! 45: #include "sys/nttyld.h" ! 46: #include "sys/mount.h" ! 47: extern struct bdevsw hpbdev; ! 48: extern struct bdevsw swbdev; ! 49: extern struct bdevsw rabdev; ! 50: extern struct bdevsw tu78bdev; ! 51: int nblkdev = 9; ! 52: extern struct cdevsw cncdev; ! 53: extern struct cdevsw dzcdev; ! 54: extern struct cdevsw mmcdev; ! 55: extern struct cdevsw hpcdev; ! 56: extern struct cdevsw swcdev; ! 57: extern struct cdevsw tu78cdev; ! 58: extern struct cdevsw kmccdev; ! 59: extern struct cdevsw racdev; ! 60: extern struct cdevsw kdicdev; ! 61: extern struct cdevsw fdcdev; ! 62: extern struct cdevsw ipcdev; ! 63: extern struct cdevsw tcpcdev; ! 64: extern struct cdevsw ilcdev; ! 65: extern struct cdevsw udpcdev; ! 66: int nchrdev = 51; ! 67: extern struct fstypsw fsfs; ! 68: extern struct fstypsw nafs; ! 69: extern struct fstypsw prfs; ! 70: extern struct fstypsw msfs; ! 71: extern struct fstypsw nbfs; ! 72: extern struct fstypsw erfs; ! 73: extern struct fstypsw pipfs; ! 74: int nfstyp = 7; ! 75: extern struct streamtab ttystream; ! 76: extern struct streamtab msgstream; ! 77: extern struct streamtab nttystream; ! 78: extern struct streamtab bufldstream; ! 79: extern struct streamtab rmsgstream; ! 80: extern struct streamtab ipstream; ! 81: extern struct streamtab tcpstream; ! 82: extern struct streamtab udpstream; ! 83: extern struct streamtab connstream; ! 84: extern struct streamtab xpstream; ! 85: int nstreamtab = 20; ! 86: ! 87: struct bdevsw *bdevsw[] = { ! 88: &hpbdev, /* 0 */ ! 89: NULL, ! 90: NULL, ! 91: NULL, ! 92: &swbdev, /* 4 */ ! 93: NULL, ! 94: NULL, ! 95: &rabdev, /* 7 */ ! 96: &tu78bdev, /* 8 */ ! 97: }; ! 98: struct cdevsw *cdevsw[] = { ! 99: &cncdev, /* 0 */ ! 100: &dzcdev, /* 1 */ ! 101: NULL, ! 102: &mmcdev, /* 3 */ ! 103: &hpcdev, /* 4 */ ! 104: NULL, ! 105: NULL, ! 106: &swcdev, /* 7 */ ! 107: NULL, ! 108: NULL, ! 109: NULL, ! 110: NULL, ! 111: NULL, ! 112: NULL, ! 113: NULL, ! 114: NULL, ! 115: NULL, ! 116: NULL, ! 117: NULL, ! 118: NULL, ! 119: NULL, ! 120: NULL, ! 121: &tu78cdev, /* 22 */ ! 122: NULL, ! 123: NULL, ! 124: NULL, ! 125: &kmccdev, /* 26 */ ! 126: NULL, ! 127: &racdev, /* 28 */ ! 128: NULL, ! 129: NULL, ! 130: &kdicdev, /* 31 */ ! 131: NULL, ! 132: NULL, ! 133: NULL, ! 134: NULL, ! 135: NULL, ! 136: NULL, ! 137: NULL, ! 138: NULL, ! 139: &fdcdev, /* 40 */ ! 140: NULL, ! 141: &ipcdev, /* 42 */ ! 142: &tcpcdev, /* 43 */ ! 143: &ilcdev, /* 44 */ ! 144: NULL, ! 145: NULL, ! 146: NULL, ! 147: NULL, ! 148: NULL, ! 149: &udpcdev, /* 50 */ ! 150: }; ! 151: struct fstypsw *fstypsw[] = { ! 152: &fsfs, /* 0 */ ! 153: &nafs, /* 1 */ ! 154: &prfs, /* 2 */ ! 155: &msfs, /* 3 */ ! 156: &nbfs, /* 4 */ ! 157: &erfs, /* 5 */ ! 158: &pipfs, /* 6 */ ! 159: }; ! 160: struct streamtab *streamtab[] = { ! 161: &ttystream, /* 0 */ ! 162: NULL, ! 163: NULL, ! 164: NULL, ! 165: &msgstream, /* 4 */ ! 166: NULL, ! 167: &nttystream, /* 6 */ ! 168: &bufldstream, /* 7 */ ! 169: NULL, ! 170: &rmsgstream, /* 9 */ ! 171: &ipstream, /* 10 */ ! 172: &tcpstream, /* 11 */ ! 173: NULL, ! 174: NULL, ! 175: &udpstream, /* 14 */ ! 176: NULL, ! 177: NULL, ! 178: NULL, ! 179: &connstream, /* 18 */ ! 180: &xpstream, /* 19 */ ! 181: }; ! 182: ! 183: struct nextab nextab[] = { ! 184: 0, 0, ! 185: 0, 4, ! 186: 0, 5, ! 187: 0, 6, ! 188: 0, 8, ! 189: -1 ! 190: }; ! 191: struct nxaddr mcraddr[] = { ! 192: {0, 0, 0x0}, ! 193: }; ! 194: int mcrcnt = 1; ! 195: caddr_t mcrregs[1]; ! 196: time_t mcrtime[1]; ! 197: int proccnt = 300; ! 198: struct proc proc[300]; ! 199: int filecnt = 500; ! 200: struct file file[500]; ! 201: int inodecnt = 700; ! 202: struct inode inode[700]; ! 203: int calloutcnt = 50; ! 204: struct callout callout[50]; ! 205: int textcnt = 60; ! 206: struct text text[60]; ! 207: int argcnt = 16; ! 208: struct map argmap[16]; ! 209: int swmapcnt = 200; ! 210: struct map swapmap[200]; ! 211: int kernelcnt = 100; ! 212: struct map kernelmap[100]; ! 213: int swbufcnt = 50; ! 214: struct buf swapbuf[50]; ! 215: struct swapinfo swapinfo[50]; ! 216: int bufhcnt = 63; ! 217: struct bufhd bufhash[63]; ! 218: int dstflag = 1; ! 219: int timezone = 300; ! 220: int maxtsize = 12256; ! 221: int maxdsize = 24544; ! 222: int maxssize = 24544; ! 223: struct nxaddr mbaaddr[] = { ! 224: {1, 0, 0x0}, ! 225: {2, 0, 0x0}, ! 226: {3, 0, 0x0}, ! 227: }; ! 228: int mbacnt = 3; ! 229: struct mba mba[3]; ! 230: extern hp0int(); ! 231: extern hp0int(); ! 232: extern hp0int(); ! 233: extern hp0int(); ! 234: extern hp0int(); ! 235: extern hp0int(); ! 236: extern hp0int(); ! 237: extern hp0int(); ! 238: extern tm780int(); ! 239: extern hp0int(); ! 240: extern hp0int(); ! 241: extern hp0int(); ! 242: extern hp0int(); ! 243: char mbaid[][8] = { ! 244: 0, 1, 2, 3, 8, 9, 10, 11, ! 245: 0, 011, 012, 013, 014, 015, 016, 017, ! 246: 4, 5, 6, 7, 024, 025, 026, 027, ! 247: }; ! 248: int mbastray(); ! 249: int (*mbavec[][8])() = { ! 250: hp0int, hp0int, hp0int, hp0int, hp0int, hp0int, hp0int, hp0int, ! 251: tm780int, mbastray, mbastray, mbastray, mbastray, mbastray, mbastray, mbastray, ! 252: hp0int, hp0int, hp0int, hp0int, mbastray, mbastray, mbastray, mbastray, ! 253: }; ! 254: struct mbaddr hpaddr[] = { ! 255: {0, 0}, ! 256: {1, 0}, ! 257: {2, 0}, ! 258: {3, 0}, ! 259: {0, 2}, ! 260: {1, 2}, ! 261: {2, 2}, ! 262: {3, 2}, ! 263: {4, 0}, ! 264: {5, 0}, ! 265: {6, 0}, ! 266: {7, 0}, ! 267: }; ! 268: int hpcnt = 12; ! 269: struct hpdisk hpdisk[12]; ! 270: struct buf hpbuf[12]; ! 271: struct buf hpbadbuf[12]; ! 272: struct bad144 hpbad[12]; ! 273: struct mbaddr tm78addr[] = { ! 274: {0, 1}, ! 275: }; ! 276: int tm78cnt = 1; ! 277: struct tm78 tm78[1]; ! 278: struct subaddr tu78addr[] = { ! 279: {0, 0}, ! 280: }; ! 281: int tu78cnt = 1; ! 282: struct tu78 tu78[1]; ! 283: struct buf ctu78buf[1]; ! 284: struct buf rtu78buf[1]; ! 285: struct nxaddr ubaaddr[] = { ! 286: {4, 0, 0x200}, ! 287: }; ! 288: int ubacnt = 1; ! 289: struct uba uba[1]; ! 290: struct ubaddr udaddr[] = { ! 291: {0772150, 0254, 0}, ! 292: {0772160, 0260, 0}, ! 293: }; ! 294: int udcnt = 2; ! 295: struct ud ud[2]; ! 296: extern struct msportsw udport; ! 297: int nmsport = 1; ! 298: struct msportsw *msportsw[] = { ! 299: &udport, /* 0 */ ! 300: }; ! 301: struct msaddr raaddr[] = { ! 302: {0, 0, 0}, ! 303: {0, 0, 1}, ! 304: {0, 0, 2}, ! 305: {0, 0, 3}, ! 306: {1, 0, 0}, ! 307: {1, 0, 1}, ! 308: {1, 0, 2}, ! 309: {1, 0, 3}, ! 310: }; ! 311: int racnt = 8; ! 312: struct radisk radisk[8]; ! 313: struct buf rabuf[8]; ! 314: struct ubaddr dzaddr[] = { ! 315: {0760100, 0300, 0}, ! 316: }; ! 317: int dzcnt = 8; ! 318: struct dz dz[8]; ! 319: struct ubaddr kmcaddr[] = { ! 320: {0760300, 0600, 0}, ! 321: }; ! 322: int kmccnt = 1; ! 323: struct kmc kmc[1]; ! 324: struct ubaddr iladdr[] = { ! 325: {0764000, 0340, 0}, ! 326: }; ! 327: int ilcnt = 1; ! 328: struct il il[1]; ! 329: int kdicnt = 1; ! 330: struct kdikmc kdikmc[1]; ! 331: struct kmcdk k[1]; ! 332: int cncnt = 0; ! 333: int ipcnt = 4; ! 334: struct ipif ipif[4]; ! 335: struct ipif *ipifsort[4]; ! 336: int udpcnt = 16; ! 337: struct udp udpconn[16]; ! 338: int tcpcnt = 32; ! 339: struct tcpcb tcpcb[32]; ! 340: int arpcnt = 64; ! 341: struct ip_arp ip_arps[64]; ! 342: int ttycnt = 48; ! 343: struct ttyld ttyld[48]; ! 344: int nttycnt = 32; ! 345: struct nttyld ntty[32]; ! 346: int msgcnt = 64; ! 347: struct imesg mesg[64]; ! 348: int xpcnt = 0; ! 349: int bufldcnt = 4; ! 350: struct bufld bufld[4]; ! 351: int fscnt = 40; ! 352: struct mount fsmtab[40]; ! 353: int blkbcnt = 20; ! 354: struct buf *cblkbuf[20]; ! 355: int queuecnt = 2000; ! 356: struct queue queue[2000]; ! 357: int streamcnt = 512; ! 358: struct stdata streams[512]; ! 359: int blkcnt = 1000; ! 360: struct block cblock[1000]; ! 361: int rootfstyp = 0; ! 362: dev_t rootdev = makedev(7, 64); ! 363: dev_t swapdev = makedev(4, 0); ! 364: struct swdevt swdevt[] = { ! 365: {makedev(0, 1), 21120L}, ! 366: {makedev(0, 9), 21120L}, ! 367: }; ! 368: int nswdevt = 2; ! 369: extern int hpdump(); ! 370: int (*dumprout)() = hpdump; ! 371: int dumpunit = 1; ! 372: long dumplow = 10560; ! 373: long dumpsize = 21120;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.