Annotation of researchv10dc/lsys/astro/wild.c.c, revision 1.1

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.