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