|
|
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/dk.h" ! 20: #include "sys/mscp.h" ! 21: #include "sys/udaioc.h" ! 22: #include "sys/ra.h" ! 23: #include "sys/ttyio.h" ! 24: #include "sys/ttyld.h" ! 25: #include "sys/mesg.h" ! 26: #include "sys/dkp.h" ! 27: #include "sys/mount.h" ! 28: extern struct bdevsw swbdev; ! 29: extern struct bdevsw rabdev; ! 30: int nblkdev = 8; ! 31: extern struct cdevsw cncdev; ! 32: extern struct cdevsw mmcdev; ! 33: extern struct cdevsw swcdev; ! 34: extern struct cdevsw dkcdev; ! 35: extern struct cdevsw racdev; ! 36: extern struct cdevsw fdcdev; ! 37: int nchrdev = 41; ! 38: extern struct fstypsw fsfs; ! 39: extern struct fstypsw nafs; ! 40: extern struct fstypsw prfs; ! 41: extern struct fstypsw msfs; ! 42: extern struct fstypsw nbfs; ! 43: extern struct fstypsw erfs; ! 44: extern struct fstypsw pipfs; ! 45: int nfstyp = 7; ! 46: extern struct streamtab ttystream; ! 47: extern struct streamtab rdkstream; ! 48: extern struct streamtab msgstream; ! 49: extern struct streamtab dkpstream; ! 50: extern struct streamtab rmsgstream; ! 51: extern struct streamtab connstream; ! 52: int nstreamtab = 19; ! 53: ! 54: struct bdevsw *bdevsw[] = { ! 55: NULL, ! 56: NULL, ! 57: NULL, ! 58: NULL, ! 59: &swbdev, /* 4 */ ! 60: NULL, ! 61: NULL, ! 62: &rabdev, /* 7 */ ! 63: }; ! 64: struct cdevsw *cdevsw[] = { ! 65: &cncdev, /* 0 */ ! 66: NULL, ! 67: NULL, ! 68: &mmcdev, /* 3 */ ! 69: NULL, ! 70: NULL, ! 71: NULL, ! 72: &swcdev, /* 7 */ ! 73: NULL, ! 74: NULL, ! 75: NULL, ! 76: NULL, ! 77: NULL, ! 78: NULL, ! 79: NULL, ! 80: NULL, ! 81: NULL, ! 82: &dkcdev, /* 17 */ ! 83: NULL, ! 84: NULL, ! 85: NULL, ! 86: NULL, ! 87: NULL, ! 88: NULL, ! 89: NULL, ! 90: NULL, ! 91: NULL, ! 92: NULL, ! 93: &racdev, /* 28 */ ! 94: NULL, ! 95: NULL, ! 96: NULL, ! 97: NULL, ! 98: NULL, ! 99: NULL, ! 100: NULL, ! 101: NULL, ! 102: NULL, ! 103: NULL, ! 104: NULL, ! 105: &fdcdev, /* 40 */ ! 106: }; ! 107: struct fstypsw *fstypsw[] = { ! 108: &fsfs, /* 0 */ ! 109: &nafs, /* 1 */ ! 110: &prfs, /* 2 */ ! 111: &msfs, /* 3 */ ! 112: &nbfs, /* 4 */ ! 113: &erfs, /* 5 */ ! 114: &pipfs, /* 6 */ ! 115: }; ! 116: struct streamtab *streamtab[] = { ! 117: &ttystream, /* 0 */ ! 118: NULL, ! 119: &rdkstream, /* 2 */ ! 120: NULL, ! 121: &msgstream, /* 4 */ ! 122: &dkpstream, /* 5 */ ! 123: NULL, ! 124: NULL, ! 125: NULL, ! 126: &rmsgstream, /* 9 */ ! 127: NULL, ! 128: NULL, ! 129: NULL, ! 130: NULL, ! 131: NULL, ! 132: NULL, ! 133: NULL, ! 134: NULL, ! 135: &connstream, /* 18 */ ! 136: }; ! 137: int proccnt = 300; ! 138: struct proc proc[300]; ! 139: int filecnt = 500; ! 140: struct file file[500]; ! 141: int inodecnt = 700; ! 142: struct inode inode[700]; ! 143: int calloutcnt = 50; ! 144: struct callout callout[50]; ! 145: int textcnt = 60; ! 146: struct text text[60]; ! 147: int argcnt = 16; ! 148: struct map argmap[16]; ! 149: int swmapcnt = 200; ! 150: struct map swapmap[200]; ! 151: int kernelcnt = 100; ! 152: struct map kernelmap[100]; ! 153: int swbufcnt = 50; ! 154: struct buf swapbuf[50]; ! 155: struct swapinfo swapinfo[50]; ! 156: int bufhcnt = 63; ! 157: struct bufhd bufhash[63]; ! 158: int queuecnt = 1024; ! 159: struct queue queue[1024]; ! 160: int streamcnt = 256; ! 161: struct stdata streams[256]; ! 162: int blkcnt = 1200; ! 163: struct block cblock[1200]; ! 164: int blkbcnt = 20; ! 165: struct buf *cblkbuf[20]; ! 166: int dstflag = 1; ! 167: int timezone = 300; ! 168: int maxtsize = 12256; ! 169: int maxdsize = 24544; ! 170: int maxssize = 24544; ! 171: int ubacnt = 1; ! 172: struct uba uba[1]; ! 173: struct ubaddr udaddr[] = { ! 174: {0772150, 0154, 0}, ! 175: }; ! 176: int udcnt = 1; ! 177: struct ud ud[1]; ! 178: extern struct msportsw udport; ! 179: int nmsport = 1; ! 180: struct msportsw *msportsw[] = { ! 181: &udport, /* 0 */ ! 182: }; ! 183: struct msaddr raaddr[] = { ! 184: {0, 0, 0}, ! 185: {0, 0, 1}, ! 186: {0, 0, 2}, ! 187: {0, 0, 3}, ! 188: }; ! 189: int racnt = 4; ! 190: struct radisk radisk[4]; ! 191: struct buf rabuf[4]; ! 192: struct ubaddr dkaddr[] = { ! 193: {0767770, 0300, 0}, ! 194: }; ! 195: int dkcnt = 256; ! 196: struct dk dk[256]; ! 197: char dkstate[256]; ! 198: int cncnt = 0; ! 199: int ttycnt = 128; ! 200: struct ttyld ttyld[128]; ! 201: int msgcnt = 256; ! 202: struct imesg mesg[256]; ! 203: int dkpcnt = 96; ! 204: struct dkp dkp[96]; ! 205: int rdkcnt = 0; ! 206: int fscnt = 10; ! 207: struct mount fsmtab[10]; ! 208: int rootfstyp = 0; ! 209: dev_t rootdev = makedev(7, 64); ! 210: dev_t swapdev = makedev(4, 0); ! 211: struct swdevt swdevt[] = { ! 212: {makedev(7, 1), 20480L}, ! 213: {makedev(7, 9), 20480L}, ! 214: {makedev(7, 17), 20480L}, ! 215: {makedev(7, 25), 20480L}, ! 216: }; ! 217: int nswdevt = 4; ! 218: extern int uddump(); ! 219: int (*dumprout)() = uddump; ! 220: int dumpunit = 1; ! 221: long dumplow = 10240; ! 222: long dumpsize = 20480;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.