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