|
|
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/ubaddr.h" ! 17: #include "sys/uba.h" ! 18: #include "sys/uda.h" ! 19: #include "sys/inet/in.h" ! 20: #include "sys/inet/ip_var.h" ! 21: #include "sys/inet/udp.h" ! 22: #include "sys/inet/tcp.h" ! 23: #include "sys/inet/tcp_timer.h" ! 24: #include "sys/inet/tcp_var.h" ! 25: #include "sys/dk.h" ! 26: #include "sys/mscp.h" ! 27: #include "sys/deqna.h" ! 28: #include "sys/udaioc.h" ! 29: #include "sys/ra.h" ! 30: #include "sys/ttyio.h" ! 31: #include "sys/ttyld.h" ! 32: #include "sys/ebufld.h" ! 33: #include "sys/mesg.h" ! 34: #include "sys/dkp.h" ! 35: #include "sys/mount.h" ! 36: extern struct bdevsw swbdev; ! 37: extern struct bdevsw rabdev; ! 38: int nblkdev = 8; ! 39: extern struct cdevsw cncdev; ! 40: extern struct cdevsw mmcdev; ! 41: extern struct cdevsw swcdev; ! 42: extern struct cdevsw dkcdev; ! 43: extern struct cdevsw racdev; ! 44: extern struct cdevsw fdcdev; ! 45: extern struct cdevsw ipcdev; ! 46: extern struct cdevsw tcpcdev; ! 47: extern struct cdevsw udpcdev; ! 48: extern struct cdevsw qecdev; ! 49: int nchrdev = 59; ! 50: extern struct fstypsw fsfs; ! 51: extern struct fstypsw nafs; ! 52: extern struct fstypsw prfs; ! 53: extern struct fstypsw msfs; ! 54: extern struct fstypsw nbfs; ! 55: extern struct fstypsw erfs; ! 56: extern struct fstypsw pipfs; ! 57: int nfstyp = 7; ! 58: extern struct streamtab ttystream; ! 59: extern struct streamtab msgstream; ! 60: extern struct streamtab dkpstream; ! 61: extern struct streamtab ebufldstream; ! 62: extern struct streamtab rmsgstream; ! 63: extern struct streamtab ipstream; ! 64: extern struct streamtab tcpstream; ! 65: extern struct streamtab udpstream; ! 66: extern struct streamtab connstream; ! 67: extern struct streamtab xpstream; ! 68: int nstreamtab = 20; ! 69: ! 70: struct bdevsw *bdevsw[] = { ! 71: NULL, ! 72: NULL, ! 73: NULL, ! 74: NULL, ! 75: &swbdev, /* 4 */ ! 76: NULL, ! 77: NULL, ! 78: &rabdev, /* 7 */ ! 79: }; ! 80: struct cdevsw *cdevsw[] = { ! 81: &cncdev, /* 0 */ ! 82: NULL, ! 83: NULL, ! 84: &mmcdev, /* 3 */ ! 85: NULL, ! 86: NULL, ! 87: NULL, ! 88: &swcdev, /* 7 */ ! 89: NULL, ! 90: NULL, ! 91: NULL, ! 92: NULL, ! 93: NULL, ! 94: NULL, ! 95: NULL, ! 96: NULL, ! 97: NULL, ! 98: &dkcdev, /* 17 */ ! 99: NULL, ! 100: NULL, ! 101: NULL, ! 102: NULL, ! 103: NULL, ! 104: NULL, ! 105: NULL, ! 106: NULL, ! 107: NULL, ! 108: NULL, ! 109: &racdev, /* 28 */ ! 110: NULL, ! 111: NULL, ! 112: NULL, ! 113: NULL, ! 114: NULL, ! 115: NULL, ! 116: NULL, ! 117: NULL, ! 118: NULL, ! 119: NULL, ! 120: NULL, ! 121: &fdcdev, /* 40 */ ! 122: NULL, ! 123: &ipcdev, /* 42 */ ! 124: &tcpcdev, /* 43 */ ! 125: NULL, ! 126: NULL, ! 127: NULL, ! 128: NULL, ! 129: NULL, ! 130: NULL, ! 131: &udpcdev, /* 50 */ ! 132: NULL, ! 133: NULL, ! 134: NULL, ! 135: NULL, ! 136: NULL, ! 137: NULL, ! 138: NULL, ! 139: &qecdev, /* 58 */ ! 140: }; ! 141: struct fstypsw *fstypsw[] = { ! 142: &fsfs, /* 0 */ ! 143: &nafs, /* 1 */ ! 144: &prfs, /* 2 */ ! 145: &msfs, /* 3 */ ! 146: &nbfs, /* 4 */ ! 147: &erfs, /* 5 */ ! 148: &pipfs, /* 6 */ ! 149: }; ! 150: struct streamtab *streamtab[] = { ! 151: &ttystream, /* 0 */ ! 152: NULL, ! 153: NULL, ! 154: NULL, ! 155: &msgstream, /* 4 */ ! 156: &dkpstream, /* 5 */ ! 157: NULL, ! 158: NULL, ! 159: &ebufldstream, /* 8 */ ! 160: &rmsgstream, /* 9 */ ! 161: &ipstream, /* 10 */ ! 162: &tcpstream, /* 11 */ ! 163: NULL, ! 164: NULL, ! 165: &udpstream, /* 14 */ ! 166: NULL, ! 167: NULL, ! 168: NULL, ! 169: &connstream, /* 18 */ ! 170: &xpstream, /* 19 */ ! 171: }; ! 172: int proccnt = 300; ! 173: struct proc proc[300]; ! 174: int filecnt = 500; ! 175: struct file file[500]; ! 176: int inodecnt = 700; ! 177: struct inode inode[700]; ! 178: int calloutcnt = 50; ! 179: struct callout callout[50]; ! 180: int textcnt = 60; ! 181: struct text text[60]; ! 182: int argcnt = 16; ! 183: struct map argmap[16]; ! 184: int swmapcnt = 200; ! 185: struct map swapmap[200]; ! 186: int kernelcnt = 100; ! 187: struct map kernelmap[100]; ! 188: int swbufcnt = 50; ! 189: struct buf swapbuf[50]; ! 190: struct swapinfo swapinfo[50]; ! 191: int bufhcnt = 63; ! 192: struct bufhd bufhash[63]; ! 193: int queuecnt = 1024; ! 194: struct queue queue[1024]; ! 195: int streamcnt = 256; ! 196: struct stdata streams[256]; ! 197: int dstflag = 1; ! 198: int timezone = 300; ! 199: int maxtsize = 12256; ! 200: int maxdsize = 24544; ! 201: int maxssize = 24544; ! 202: int ubacnt = 1; ! 203: struct uba uba[1]; ! 204: struct ubaddr udaddr[] = { ! 205: {0772150, 0254, 0}, ! 206: {0760334, 0260, 0}, ! 207: }; ! 208: int udcnt = 2; ! 209: struct ud ud[2]; ! 210: extern struct msportsw udport; ! 211: int nmsport = 1; ! 212: struct msportsw *msportsw[] = { ! 213: &udport, /* 0 */ ! 214: }; ! 215: struct msaddr raaddr[] = { ! 216: {0, 0, 0}, ! 217: {0, 0, 1}, ! 218: {0, 0, 2}, ! 219: {-1}, ! 220: {1, 0, 0}, ! 221: {1, 0, 1}, ! 222: }; ! 223: int racnt = 6; ! 224: struct radisk radisk[6]; ! 225: struct buf rabuf[6]; ! 226: struct ubaddr dkaddr[] = { ! 227: {0767770, 0300, 0}, ! 228: }; ! 229: int dkcnt = 256; ! 230: struct dk dk[256]; ! 231: char dkstate[256]; ! 232: struct ubaddr qeaddr[] = { ! 233: {0774440, 0310, 0}, ! 234: {0774460, 0314, 0}, ! 235: }; ! 236: int qecnt = 2; ! 237: struct qe qe[2]; ! 238: int cncnt = 0; ! 239: int ttycnt = 32; ! 240: struct ttyld ttyld[32]; ! 241: int msgcnt = 256; ! 242: struct imesg mesg[256]; ! 243: int dkpcnt = 96; ! 244: struct dkp dkp[96]; ! 245: int xpcnt = 0; ! 246: int ebufldcnt = 8; ! 247: struct ebufld ebufld[8]; ! 248: int fscnt = 10; ! 249: struct mount fsmtab[10]; ! 250: int ipcnt = 32; ! 251: struct ipif ipif[32]; ! 252: struct ipif *ipifsort[32]; ! 253: int udpcnt = 32; ! 254: struct udp udpconn[32]; ! 255: int tcpcnt = 128; ! 256: struct tcpcb tcpcb[128]; ! 257: int arpcnt = 128; ! 258: struct ip_arp ip_arps[128]; ! 259: int blkbcnt = 200; ! 260: struct buf *cblkbuf[200]; ! 261: int blkcnt = 3200; ! 262: struct block cblock[3200]; ! 263: int rootfstyp = 0; ! 264: dev_t rootdev = makedev(7, 80); ! 265: dev_t swapdev = makedev(4, 0); ! 266: struct swdevt swdevt[] = { ! 267: {makedev(7, 17), 20480L}, ! 268: {makedev(7, 19), 249848L}, ! 269: }; ! 270: int nswdevt = 2; ! 271: extern int uddump(); ! 272: int (*dumprout)() = uddump; ! 273: int dumpunit = 2; ! 274: long dumplow = 10240; ! 275: long dumpsize = 20480;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.