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