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