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