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