Annotation of researchv10dc/sys/misc/europa.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/ubaddr.h"
        !            17: #include "sys/uba.h"
        !            18: #include "sys/uda.h"
        !            19: #include "sys/inet/in.h"
        !            20: #include "sys/inet/ip_var.h"
        !            21: #include "sys/inet/udp.h"
        !            22: #include "sys/inet/tcp.h"
        !            23: #include "sys/inet/tcp_timer.h"
        !            24: #include "sys/inet/tcp_var.h"
        !            25: #include "sys/dz.h"
        !            26: #include "sys/dk.h"
        !            27: #include "sys/mscp.h"
        !            28: #include "sys/deqna.h"
        !            29: #include "sys/udaioc.h"
        !            30: #include "sys/ra.h"
        !            31: #include "sys/ta.h"
        !            32: #include "sys/ttyio.h"
        !            33: #include "sys/ttyld.h"
        !            34: #include "sys/bufld.h"
        !            35: #include "sys/mesg.h"
        !            36: #include "sys/dkp.h"
        !            37: #include "sys/nttyio.h"
        !            38: #include "sys/nttyld.h"
        !            39: #include "sys/mount.h"
        !            40: extern struct bdevsw swbdev;
        !            41: extern struct bdevsw rabdev;
        !            42: extern struct bdevsw tabdev;
        !            43: int nblkdev = 11;
        !            44: extern struct cdevsw cncdev;
        !            45: extern struct cdevsw dzcdev;
        !            46: extern struct cdevsw mmcdev;
        !            47: extern struct cdevsw swcdev;
        !            48: extern struct cdevsw dkcdev;
        !            49: extern struct cdevsw racdev;
        !            50: extern struct cdevsw fdcdev;
        !            51: extern struct cdevsw ipcdev;
        !            52: extern struct cdevsw tcpcdev;
        !            53: extern struct cdevsw udpcdev;
        !            54: extern struct cdevsw qecdev;
        !            55: extern struct cdevsw tacdev;
        !            56: int nchrdev = 60;
        !            57: extern struct fstypsw fsfs;
        !            58: extern struct fstypsw nafs;
        !            59: extern struct fstypsw prfs;
        !            60: extern struct fstypsw msfs;
        !            61: extern struct fstypsw nbfs;
        !            62: extern struct fstypsw erfs;
        !            63: extern struct fstypsw pipfs;
        !            64: int nfstyp = 7;
        !            65: extern struct streamtab ttystream;
        !            66: extern struct streamtab msgstream;
        !            67: extern struct streamtab dkpstream;
        !            68: extern struct streamtab nttystream;
        !            69: extern struct streamtab bufldstream;
        !            70: extern struct streamtab rmsgstream;
        !            71: extern struct streamtab ipstream;
        !            72: extern struct streamtab tcpstream;
        !            73: extern struct streamtab udpstream;
        !            74: extern struct streamtab connstream;
        !            75: extern struct streamtab xpstream;
        !            76: int nstreamtab = 20;
        !            77: 
        !            78: struct bdevsw *bdevsw[] = {
        !            79:        NULL,
        !            80:        NULL,
        !            81:        NULL,
        !            82:        NULL,
        !            83:        &swbdev,        /* 4 */
        !            84:        NULL,
        !            85:        NULL,
        !            86:        &rabdev,        /* 7 */
        !            87:        NULL,
        !            88:        NULL,
        !            89:        &tabdev,        /* 10 */
        !            90: };
        !            91: struct cdevsw *cdevsw[] = {
        !            92:        &cncdev,        /* 0 */
        !            93:        &dzcdev,        /* 1 */
        !            94:        NULL,
        !            95:        &mmcdev,        /* 3 */
        !            96:        NULL,
        !            97:        NULL,
        !            98:        NULL,
        !            99:        &swcdev,        /* 7 */
        !           100:        NULL,
        !           101:        NULL,
        !           102:        NULL,
        !           103:        NULL,
        !           104:        NULL,
        !           105:        NULL,
        !           106:        NULL,
        !           107:        NULL,
        !           108:        NULL,
        !           109:        &dkcdev,        /* 17 */
        !           110:        NULL,
        !           111:        NULL,
        !           112:        NULL,
        !           113:        NULL,
        !           114:        NULL,
        !           115:        NULL,
        !           116:        NULL,
        !           117:        NULL,
        !           118:        NULL,
        !           119:        NULL,
        !           120:        &racdev,        /* 28 */
        !           121:        NULL,
        !           122:        NULL,
        !           123:        NULL,
        !           124:        NULL,
        !           125:        NULL,
        !           126:        NULL,
        !           127:        NULL,
        !           128:        NULL,
        !           129:        NULL,
        !           130:        NULL,
        !           131:        NULL,
        !           132:        &fdcdev,        /* 40 */
        !           133:        NULL,
        !           134:        &ipcdev,        /* 42 */
        !           135:        &tcpcdev,       /* 43 */
        !           136:        NULL,
        !           137:        NULL,
        !           138:        NULL,
        !           139:        NULL,
        !           140:        NULL,
        !           141:        NULL,
        !           142:        &udpcdev,       /* 50 */
        !           143:        NULL,
        !           144:        NULL,
        !           145:        NULL,
        !           146:        NULL,
        !           147:        NULL,
        !           148:        NULL,
        !           149:        NULL,
        !           150:        &qecdev,        /* 58 */
        !           151:        &tacdev,        /* 59 */
        !           152: };
        !           153: struct fstypsw *fstypsw[] = {
        !           154:        &fsfs,  /* 0 */
        !           155:        &nafs,  /* 1 */
        !           156:        &prfs,  /* 2 */
        !           157:        &msfs,  /* 3 */
        !           158:        &nbfs,  /* 4 */
        !           159:        &erfs,  /* 5 */
        !           160:        &pipfs, /* 6 */
        !           161: };
        !           162: struct streamtab *streamtab[] = {
        !           163:        &ttystream,     /* 0 */
        !           164:        NULL,
        !           165:        NULL,
        !           166:        NULL,
        !           167:        &msgstream,     /* 4 */
        !           168:        &dkpstream,     /* 5 */
        !           169:        &nttystream,    /* 6 */
        !           170:        &bufldstream,   /* 7 */
        !           171:        NULL,
        !           172:        &rmsgstream,    /* 9 */
        !           173:        &ipstream,      /* 10 */
        !           174:        &tcpstream,     /* 11 */
        !           175:        NULL,
        !           176:        NULL,
        !           177:        &udpstream,     /* 14 */
        !           178:        NULL,
        !           179:        NULL,
        !           180:        NULL,
        !           181:        &connstream,    /* 18 */
        !           182:        &xpstream,      /* 19 */
        !           183: };
        !           184: int proccnt = 300;
        !           185: struct proc proc[300];
        !           186: int filecnt = 500;
        !           187: struct file file[500];
        !           188: int inodecnt = 700;
        !           189: struct inode inode[700];
        !           190: int calloutcnt = 50;
        !           191: struct callout callout[50];
        !           192: int textcnt = 60;
        !           193: struct text text[60];
        !           194: int argcnt = 16;
        !           195: struct map argmap[16];
        !           196: int swmapcnt = 200;
        !           197: struct map swapmap[200];
        !           198: int kernelcnt = 100;
        !           199: struct map kernelmap[100];
        !           200: int swbufcnt = 50;
        !           201: struct buf swapbuf[50];
        !           202: struct swapinfo swapinfo[50];
        !           203: int bufhcnt = 63;
        !           204: struct bufhd bufhash[63];
        !           205: int queuecnt = 1024;
        !           206: struct queue queue[1024];
        !           207: int streamcnt = 256;
        !           208: struct stdata streams[256];
        !           209: int dstflag = 1;
        !           210: int timezone = 300;
        !           211: int maxtsize = 12256;
        !           212: int maxdsize = 24544;
        !           213: int maxssize = 24544;
        !           214: int ubacnt = 1;
        !           215: struct uba uba[1];
        !           216: struct ubaddr udaddr[] = {
        !           217:        {0772150, 0254, 0},
        !           218:        {0774500, 0270, 0},
        !           219: };
        !           220: int udcnt = 2;
        !           221: struct ud ud[2];
        !           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 msaddr taaddr[] = {
        !           237:        {1, 0, 0},
        !           238: };
        !           239: int tacnt = 1;
        !           240: struct tatape tatape[1];
        !           241: struct buf tabuf[1];
        !           242: struct ubaddr dkaddr[] = {
        !           243:        {0767770, 0310, 0},
        !           244: };
        !           245: int dkcnt = 256;
        !           246: struct dk dk[256];
        !           247: char dkstate[256];
        !           248: struct ubaddr qeaddr[] = {
        !           249:        {0774440, 0400, 0},
        !           250: };
        !           251: int qecnt = 1;
        !           252: struct qe qe[1];
        !           253: struct ubaddr dzaddr[] = {
        !           254:        {0760100, 0300, 0},
        !           255: };
        !           256: int dzcnt = 8;
        !           257: struct dz dz[8];
        !           258: int cncnt = 0;
        !           259: int ttycnt = 128;
        !           260: struct ttyld ttyld[128];
        !           261: int nttycnt = 64;
        !           262: struct nttyld ntty[64];
        !           263: int msgcnt = 512;
        !           264: struct imesg mesg[512];
        !           265: int dkpcnt = 256;
        !           266: struct dkp dkp[256];
        !           267: int xpcnt = 0;
        !           268: int fscnt = 10;
        !           269: struct mount fsmtab[10];
        !           270: int ipcnt = 24;
        !           271: struct ipif ipif[24];
        !           272: struct ipif *ipifsort[24];
        !           273: int udpcnt = 16;
        !           274: struct udp udpconn[16];
        !           275: int tcpcnt = 256;
        !           276: struct tcpcb tcpcb[256];
        !           277: int arpcnt = 128;
        !           278: struct ip_arp ip_arps[128];
        !           279: int bufldcnt = 4;
        !           280: struct bufld bufld[4];
        !           281: int blkbcnt = 20;
        !           282: struct buf *cblkbuf[20];
        !           283: int blkcnt = 1500;
        !           284: struct block cblock[1500];
        !           285: int rootfstyp = 0;
        !           286: dev_t rootdev = makedev(7, 64);
        !           287: dev_t swapdev = makedev(4, 0);
        !           288: struct swdevt swdevt[] = {
        !           289:        {makedev(7, 1), 20480L},
        !           290:        {makedev(7, 9), 20480L},
        !           291:        {makedev(7, 17), 20480L},
        !           292: };
        !           293: int nswdevt = 3;
        !           294: extern int uddump();
        !           295: int (*dumprout)() = uddump;
        !           296: int dumpunit = 1;
        !           297: long dumplow = 10240;
        !           298: 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.