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