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