|
|
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/kb.h" ! 34: #include "sys/mscp.h" ! 35: #include "sys/ni1010a.h" ! 36: #include "sys/udaioc.h" ! 37: #include "sys/ra.h" ! 38: #include "sys/te16.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 te16bdev; ! 46: extern struct bdevsw swbdev; ! 47: extern struct bdevsw rabdev; ! 48: int nblkdev = 8; ! 49: extern struct cdevsw cncdev; ! 50: extern struct cdevsw dzcdev; ! 51: extern struct cdevsw ctucdev; ! 52: extern struct cdevsw mmcdev; ! 53: extern struct cdevsw te16cdev; ! 54: extern struct cdevsw swcdev; ! 55: extern struct cdevsw kbcdev; ! 56: extern struct cdevsw kmccdev; ! 57: extern struct cdevsw racdev; ! 58: extern struct cdevsw kdicdev; ! 59: extern struct cdevsw fdcdev; ! 60: extern struct cdevsw ipcdev; ! 61: extern struct cdevsw tcpcdev; ! 62: extern struct cdevsw ilcdev; ! 63: extern struct cdevsw udpcdev; ! 64: extern struct cdevsw curecdev; ! 65: extern struct cdevsw rcurecdev; ! 66: int nchrdev = 62; ! 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 rdkstream; ! 77: extern struct streamtab msgstream; ! 78: extern struct streamtab dkpstream; ! 79: extern struct streamtab bufldstream; ! 80: extern struct streamtab rmsgstream; ! 81: extern struct streamtab ipstream; ! 82: extern struct streamtab tcpstream; ! 83: extern struct streamtab udpstream; ! 84: extern struct streamtab connstream; ! 85: extern struct streamtab xpstream; ! 86: int nstreamtab = 20; ! 87: ! 88: struct bdevsw *bdevsw[] = { ! 89: NULL, ! 90: &te16bdev, /* 1 */ ! 91: NULL, ! 92: NULL, ! 93: &swbdev, /* 4 */ ! 94: NULL, ! 95: NULL, ! 96: &rabdev, /* 7 */ ! 97: }; ! 98: struct cdevsw *cdevsw[] = { ! 99: &cncdev, /* 0 */ ! 100: &dzcdev, /* 1 */ ! 101: &ctucdev, /* 2 */ ! 102: &mmcdev, /* 3 */ ! 103: NULL, ! 104: &te16cdev, /* 5 */ ! 105: NULL, ! 106: &swcdev, /* 7 */ ! 107: NULL, ! 108: NULL, ! 109: &kbcdev, /* 10 */ ! 110: NULL, ! 111: NULL, ! 112: NULL, ! 113: NULL, ! 114: NULL, ! 115: NULL, ! 116: NULL, ! 117: NULL, ! 118: NULL, ! 119: NULL, ! 120: NULL, ! 121: NULL, ! 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: NULL, ! 151: NULL, ! 152: NULL, ! 153: NULL, ! 154: NULL, ! 155: NULL, ! 156: NULL, ! 157: NULL, ! 158: NULL, ! 159: &curecdev, /* 60 */ ! 160: &rcurecdev, /* 61 */ ! 161: }; ! 162: struct fstypsw *fstypsw[] = { ! 163: &fsfs, /* 0 */ ! 164: &nafs, /* 1 */ ! 165: &prfs, /* 2 */ ! 166: &msfs, /* 3 */ ! 167: &nbfs, /* 4 */ ! 168: &erfs, /* 5 */ ! 169: &pipfs, /* 6 */ ! 170: }; ! 171: struct streamtab *streamtab[] = { ! 172: &ttystream, /* 0 */ ! 173: NULL, ! 174: &rdkstream, /* 2 */ ! 175: NULL, ! 176: &msgstream, /* 4 */ ! 177: &dkpstream, /* 5 */ ! 178: NULL, ! 179: &bufldstream, /* 7 */ ! 180: NULL, ! 181: &rmsgstream, /* 9 */ ! 182: &ipstream, /* 10 */ ! 183: &tcpstream, /* 11 */ ! 184: NULL, ! 185: NULL, ! 186: &udpstream, /* 14 */ ! 187: NULL, ! 188: NULL, ! 189: NULL, ! 190: &connstream, /* 18 */ ! 191: &xpstream, /* 19 */ ! 192: }; ! 193: ! 194: struct nextab nextab[] = { ! 195: 0, 0, ! 196: 0, 4, ! 197: 0, 8, ! 198: -1 ! 199: }; ! 200: struct nxaddr mcraddr[] = { ! 201: {0, 0, 0x0}, ! 202: }; ! 203: int mcrcnt = 1; ! 204: caddr_t mcrregs[1]; ! 205: time_t mcrtime[1]; ! 206: int proccnt = 300; ! 207: struct proc proc[300]; ! 208: int filecnt = 500; ! 209: struct file file[500]; ! 210: int inodecnt = 700; ! 211: struct inode inode[700]; ! 212: int calloutcnt = 50; ! 213: struct callout callout[50]; ! 214: int textcnt = 60; ! 215: struct text text[60]; ! 216: int argcnt = 16; ! 217: struct map argmap[16]; ! 218: int swmapcnt = 200; ! 219: struct map swapmap[200]; ! 220: int kernelcnt = 100; ! 221: struct map kernelmap[100]; ! 222: int swbufcnt = 50; ! 223: struct buf swapbuf[50]; ! 224: struct swapinfo swapinfo[50]; ! 225: int bufhcnt = 63; ! 226: struct bufhd bufhash[63]; ! 227: int queuecnt = 1024; ! 228: struct queue queue[1024]; ! 229: int streamcnt = 256; ! 230: struct stdata streams[256]; ! 231: int blkcnt = 600; ! 232: struct block cblock[600]; ! 233: int dstflag = 1; ! 234: int timezone = 300; ! 235: int maxtsize = 12256; ! 236: int maxdsize = 24544; ! 237: int maxssize = 24544; ! 238: struct nxaddr mbaaddr[] = { ! 239: {1, 0, 0x0}, ! 240: }; ! 241: int mbacnt = 1; ! 242: struct mba mba[1]; ! 243: extern tm030int(); ! 244: char mbaid[][8] = { ! 245: 0, 01, 02, 03, 04, 05, 06, 07, ! 246: }; ! 247: int mbastray(); ! 248: int (*mbavec[][8])() = { ! 249: tm030int, mbastray, mbastray, mbastray, mbastray, mbastray, mbastray, mbastray, ! 250: }; ! 251: struct mbaddr tm03addr[] = { ! 252: {0, 0}, ! 253: }; ! 254: int tm03cnt = 1; ! 255: struct tm03 tm03[1]; ! 256: struct subaddr te16addr[] = { ! 257: {0, 0}, ! 258: }; ! 259: int te16cnt = 1; ! 260: struct te16 te16[1]; ! 261: struct buf cte16buf[1]; ! 262: struct buf rte16buf[1]; ! 263: struct nxaddr ubaaddr[] = { ! 264: {2, 0, 0x200}, ! 265: }; ! 266: int ubacnt = 1; ! 267: struct uba uba[1]; ! 268: struct ubaddr udaddr[] = { ! 269: {0772150, 0260, 0}, ! 270: }; ! 271: int udcnt = 1; ! 272: struct ud ud[1]; ! 273: extern struct msportsw udport; ! 274: int nmsport = 1; ! 275: struct msportsw *msportsw[] = { ! 276: &udport, /* 0 */ ! 277: }; ! 278: struct msaddr raaddr[] = { ! 279: {0, 0, 0}, ! 280: {0, 0, 1}, ! 281: {0, 0, 2}, ! 282: }; ! 283: int racnt = 3; ! 284: struct radisk radisk[3]; ! 285: struct buf rabuf[3]; ! 286: struct ubaddr dzaddr[] = { ! 287: {0760100, 0300, 0}, ! 288: }; ! 289: int dzcnt = 8; ! 290: struct dz dz[8]; ! 291: struct ubaddr kmcaddr[] = { ! 292: {0760200, 0600, 0}, ! 293: }; ! 294: int kmccnt = 1; ! 295: struct kmc kmc[1]; ! 296: struct ubaddr cureaddr[] = { ! 297: {0776070, 0210, 0}, ! 298: }; ! 299: int curecnt = 1; ! 300: struct ubaddr rcureaddr[] = { ! 301: {0776070, 00, 0}, ! 302: }; ! 303: int rcurecnt = 1; ! 304: struct ubaddr iladdr[] = { ! 305: {0764000, 0340, 0}, ! 306: }; ! 307: int ilcnt = 1; ! 308: struct il il[1]; ! 309: int kdicnt = 1; ! 310: struct kdikmc kdikmc[1]; ! 311: struct kmcdk k[1]; ! 312: int kbcnt = 96; ! 313: struct kb kb[96]; ! 314: char kbstate[96]; ! 315: int cncnt = 0; ! 316: int ttycnt = 32; ! 317: struct ttyld ttyld[32]; ! 318: int msgcnt = 256; ! 319: struct imesg mesg[256]; ! 320: int rdkcnt = 0; ! 321: int xpcnt = 0; ! 322: int dkpcnt = 96; ! 323: struct dkp dkp[96]; ! 324: int fscnt = 10; ! 325: struct mount fsmtab[10]; ! 326: int ctucnt = 1; ! 327: int ipcnt = 32; ! 328: struct ipif ipif[32]; ! 329: struct ipif *ipifsort[32]; ! 330: int udpcnt = 32; ! 331: struct udp udpconn[32]; ! 332: int tcpcnt = 64; ! 333: struct tcpcb tcpcb[64]; ! 334: int arpcnt = 128; ! 335: struct ip_arp ip_arps[128]; ! 336: int bufldcnt = 4; ! 337: struct bufld bufld[4]; ! 338: int blkbcnt = 20; ! 339: struct buf *cblkbuf[20]; ! 340: int rootfstyp = 0; ! 341: dev_t rootdev = makedev(7, 64); ! 342: dev_t swapdev = makedev(4, 0); ! 343: struct swdevt swdevt[] = { ! 344: {makedev(7, 1), 20480L}, ! 345: {makedev(7, 9), 20480L}, ! 346: }; ! 347: int nswdevt = 2; ! 348: extern int uddump(); ! 349: int (*dumprout)() = uddump; ! 350: int dumpunit = 1; ! 351: long dumplow = 10240; ! 352: long dumpsize = 20480;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.