|
|
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/im.h" ! 30: #include "sys/kmc.h" ! 31: #include "sys/kdi.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/nttyio.h" ! 41: #include "sys/nttyld.h" ! 42: #include "sys/mount.h" ! 43: extern struct bdevsw swbdev; ! 44: extern struct bdevsw rabdev; ! 45: int nblkdev = 8; ! 46: extern struct cdevsw cncdev; ! 47: extern struct cdevsw dzcdev; ! 48: extern struct cdevsw mmcdev; ! 49: extern struct cdevsw swcdev; ! 50: extern struct cdevsw kmccdev; ! 51: extern struct cdevsw racdev; ! 52: extern struct cdevsw kdicdev; ! 53: extern struct cdevsw mgcdev; ! 54: extern struct cdevsw fdcdev; ! 55: extern struct cdevsw ipcdev; ! 56: extern struct cdevsw tcpcdev; ! 57: extern struct cdevsw ilcdev; ! 58: extern struct cdevsw udpcdev; ! 59: extern struct cdevsw imcdev; ! 60: int nchrdev = 57; ! 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 nttystream; ! 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: NULL, ! 104: NULL, ! 105: NULL, ! 106: NULL, ! 107: NULL, ! 108: NULL, ! 109: NULL, ! 110: NULL, ! 111: NULL, ! 112: NULL, ! 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: NULL, ! 145: NULL, ! 146: NULL, ! 147: NULL, ! 148: NULL, ! 149: &imcdev, /* 56 */ ! 150: }; ! 151: struct fstypsw *fstypsw[] = { ! 152: &fsfs, /* 0 */ ! 153: &nafs, /* 1 */ ! 154: &prfs, /* 2 */ ! 155: &msfs, /* 3 */ ! 156: &nbfs, /* 4 */ ! 157: &erfs, /* 5 */ ! 158: &pipfs, /* 6 */ ! 159: }; ! 160: struct streamtab *streamtab[] = { ! 161: &ttystream, /* 0 */ ! 162: NULL, ! 163: &rdkstream, /* 2 */ ! 164: NULL, ! 165: &msgstream, /* 4 */ ! 166: NULL, ! 167: &nttystream, /* 6 */ ! 168: &bufldstream, /* 7 */ ! 169: NULL, ! 170: &rmsgstream, /* 9 */ ! 171: &ipstream, /* 10 */ ! 172: &tcpstream, /* 11 */ ! 173: NULL, ! 174: NULL, ! 175: &udpstream, /* 14 */ ! 176: NULL, ! 177: NULL, ! 178: NULL, ! 179: &connstream, /* 18 */ ! 180: &xpstream, /* 19 */ ! 181: }; ! 182: ! 183: struct nextab nextab[] = { ! 184: 0, 0, ! 185: 0, 8, ! 186: -1 ! 187: }; ! 188: struct nxaddr mcraddr[] = { ! 189: {0, 0, 0x0}, ! 190: }; ! 191: int mcrcnt = 1; ! 192: caddr_t mcrregs[1]; ! 193: time_t mcrtime[1]; ! 194: int proccnt = 300; ! 195: struct proc proc[300]; ! 196: int filecnt = 500; ! 197: struct file file[500]; ! 198: int inodecnt = 700; ! 199: struct inode inode[700]; ! 200: int calloutcnt = 50; ! 201: struct callout callout[50]; ! 202: int textcnt = 60; ! 203: struct text text[60]; ! 204: int argcnt = 16; ! 205: struct map argmap[16]; ! 206: int swmapcnt = 200; ! 207: struct map swapmap[200]; ! 208: int kernelcnt = 100; ! 209: struct map kernelmap[100]; ! 210: int swbufcnt = 50; ! 211: struct buf swapbuf[50]; ! 212: struct swapinfo swapinfo[50]; ! 213: int bufhcnt = 63; ! 214: struct bufhd bufhash[63]; ! 215: int queuecnt = 1024; ! 216: struct queue queue[1024]; ! 217: int streamcnt = 256; ! 218: struct stdata streams[256]; ! 219: int blkcnt = 600; ! 220: struct block cblock[600]; ! 221: int blkbcnt = 10; ! 222: struct buf *cblkbuf[10]; ! 223: int dstflag = 1; ! 224: int timezone = 300; ! 225: int maxtsize = 12256; ! 226: int maxdsize = 24544; ! 227: int maxssize = 24544; ! 228: struct nxaddr ubaaddr[] = { ! 229: {1, 0, 0x200}, ! 230: }; ! 231: int ubacnt = 1; ! 232: struct uba uba[1]; ! 233: struct ubaddr udaddr[] = { ! 234: {0772150, 0774, 0}, ! 235: {0772154, 0770, 0}, ! 236: }; ! 237: int udcnt = 2; ! 238: struct ud ud[2]; ! 239: extern struct msportsw udport; ! 240: int nmsport = 1; ! 241: struct msportsw *msportsw[] = { ! 242: &udport, /* 0 */ ! 243: }; ! 244: struct msaddr raaddr[] = { ! 245: {0, 0, 0}, ! 246: {0, 0, 1}, ! 247: {0, 0, 2}, ! 248: {0, 0, 3}, ! 249: {1, 0, 4}, ! 250: }; ! 251: int racnt = 5; ! 252: struct radisk radisk[5]; ! 253: struct buf rabuf[5]; ! 254: struct ubaddr dzaddr[] = { ! 255: {0760100, 0300, 0}, ! 256: }; ! 257: int dzcnt = 8; ! 258: struct dz dz[8]; ! 259: struct ubaddr kmcaddr[] = { ! 260: {0760200, 0400, 0}, ! 261: }; ! 262: int kmccnt = 1; ! 263: struct kmc kmc[1]; ! 264: struct ubaddr imaddr[] = { ! 265: {0772470, 0174, 0}, ! 266: }; ! 267: int imcnt = 1; ! 268: struct im im[1]; ! 269: struct ubaddr mgaddr[] = { ! 270: {0767720, 0340, 0}, ! 271: }; ! 272: int mgcnt = 1; ! 273: struct mg mg[1]; ! 274: struct ubaddr iladdr[] = { ! 275: {0764000, 0350, 0}, ! 276: }; ! 277: int ilcnt = 1; ! 278: struct il il[1]; ! 279: int kdicnt = 1; ! 280: struct kdikmc kdikmc[1]; ! 281: struct kmcdk k[1]; ! 282: int cncnt = 0; ! 283: int ttycnt = 32; ! 284: struct ttyld ttyld[32]; ! 285: int nttycnt = 16; ! 286: struct nttyld ntty[16]; ! 287: int msgcnt = 256; ! 288: struct imesg mesg[256]; ! 289: int rdkcnt = 0; ! 290: int xpcnt = 0; ! 291: int fscnt = 15; ! 292: struct mount fsmtab[15]; ! 293: int ipcnt = 4; ! 294: struct ipif ipif[4]; ! 295: struct ipif *ipifsort[4]; ! 296: int udpcnt = 32; ! 297: struct udp udpconn[32]; ! 298: int tcpcnt = 64; ! 299: struct tcpcb tcpcb[64]; ! 300: int arpcnt = 64; ! 301: struct ip_arp ip_arps[64]; ! 302: int bufldcnt = 4; ! 303: struct bufld bufld[4]; ! 304: int rootfstyp = 0; ! 305: dev_t rootdev = makedev(7, 64); ! 306: dev_t swapdev = makedev(4, 0); ! 307: struct swdevt swdevt[] = { ! 308: {makedev(7, 1), 20480L}, ! 309: {makedev(7, 17), 20480L}, ! 310: }; ! 311: int nswdevt = 2; ! 312: extern int uddump(); ! 313: int (*dumprout)() = uddump; ! 314: int dumpunit = 1; ! 315: long dumplow = 10240; ! 316: long dumpsize = 20480;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.