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