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