Annotation of researchv10dc/lsys/astro/pipe.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/nexus.h"
                     17: #include "sys/ubaddr.h"
                     18: #include "sys/uba.h"
                     19: #include "sys/biaddr.h"
                     20: #include "sys/uda.h"
                     21: #include "sys/bda.h"
                     22: #include "sys/inet/in.h"
                     23: #include "sys/inet/ip_var.h"
                     24: #include "sys/inet/udp.h"
                     25: #include "sys/inet/tcp.h"
                     26: #include "sys/inet/tcp_timer.h"
                     27: #include "sys/inet/tcp_var.h"
                     28: #include "sys/dz.h"
                     29: #include "sys/om.h"
                     30: #include "sys/rco.h"
                     31: #include "sys/im.h"
                     32: #include "sys/kmc.h"
                     33: #include "sys/kdi.h"
                     34: #include "sys/mscp.h"
                     35: #include "sys/udaioc.h"
                     36: #include "sys/ra.h"
                     37: #include "sys/ta.h"
                     38: #include "sys/bvp.h"
                     39: #include "sys/debna.h"
                     40: #include "sys/ttyio.h"
                     41: #include "sys/ttyld.h"
                     42: #include "sys/bufld.h"
                     43: #include "sys/mesg.h"
                     44: #include "sys/dkp.h"
                     45: #include "sys/mount.h"
                     46: extern struct bdevsw swbdev;
                     47: extern struct bdevsw rabdev;
                     48: extern struct bdevsw tabdev;
                     49: int nblkdev = 11;
                     50: extern struct cdevsw cncdev;
                     51: extern struct cdevsw dzcdev;
                     52: extern struct cdevsw mmcdev;
                     53: extern struct cdevsw clkcdev;
                     54: extern struct cdevsw swcdev;
                     55: extern struct cdevsw bnacdev;
                     56: extern struct cdevsw kmccdev;
                     57: extern struct cdevsw racdev;
                     58: extern struct cdevsw kdicdev;
                     59: extern struct cdevsw omcdev;
                     60: extern struct cdevsw fdcdev;
                     61: extern struct cdevsw ipcdev;
                     62: extern struct cdevsw tcpcdev;
                     63: extern struct cdevsw udpcdev;
                     64: extern struct cdevsw gpibcdev;
                     65: extern struct cdevsw rcocdev;
                     66: extern struct cdevsw imcdev;
                     67: extern struct cdevsw tacdev;
                     68: extern struct cdevsw curecdev;
                     69: extern struct cdevsw rcurecdev;
                     70: int nchrdev = 62;
                     71: extern struct fstypsw fsfs;
                     72: extern struct fstypsw nafs;
                     73: extern struct fstypsw prfs;
                     74: extern struct fstypsw msfs;
                     75: extern struct fstypsw nbfs;
                     76: extern struct fstypsw erfs;
                     77: extern struct fstypsw pipfs;
                     78: int nfstyp = 7;
                     79: extern struct streamtab ttystream;
                     80: extern struct streamtab cdkpstream;
                     81: extern struct streamtab rdkstream;
                     82: extern struct streamtab msgstream;
                     83: extern struct streamtab dkpstream;
                     84: extern struct streamtab bufldstream;
                     85: extern struct streamtab rmsgstream;
                     86: extern struct streamtab ipstream;
                     87: extern struct streamtab tcpstream;
                     88: extern struct streamtab udpstream;
                     89: extern struct streamtab connstream;
                     90: extern struct streamtab xpstream;
                     91: int nstreamtab = 20;
                     92: 
                     93: struct bdevsw *bdevsw[] = {
                     94:        NULL,
                     95:        NULL,
                     96:        NULL,
                     97:        NULL,
                     98:        &swbdev,        /* 4 */
                     99:        NULL,
                    100:        NULL,
                    101:        &rabdev,        /* 7 */
                    102:        NULL,
                    103:        NULL,
                    104:        &tabdev,        /* 10 */
                    105: };
                    106: struct cdevsw *cdevsw[] = {
                    107:        &cncdev,        /* 0 */
                    108:        &dzcdev,        /* 1 */
                    109:        NULL,
                    110:        &mmcdev,        /* 3 */
                    111:        NULL,
                    112:        NULL,
                    113:        &clkcdev,       /* 6 */
                    114:        &swcdev,        /* 7 */
                    115:        NULL,
                    116:        NULL,
                    117:        NULL,
                    118:        NULL,
                    119:        NULL,
                    120:        NULL,
                    121:        &bnacdev,       /* 14 */
                    122:        NULL,
                    123:        NULL,
                    124:        NULL,
                    125:        NULL,
                    126:        NULL,
                    127:        NULL,
                    128:        NULL,
                    129:        NULL,
                    130:        NULL,
                    131:        NULL,
                    132:        NULL,
                    133:        &kmccdev,       /* 26 */
                    134:        NULL,
                    135:        &racdev,        /* 28 */
                    136:        NULL,
                    137:        NULL,
                    138:        &kdicdev,       /* 31 */
                    139:        NULL,
                    140:        NULL,
                    141:        NULL,
                    142:        NULL,
                    143:        NULL,
                    144:        NULL,
                    145:        NULL,
                    146:        &omcdev,        /* 39 */
                    147:        &fdcdev,        /* 40 */
                    148:        NULL,
                    149:        &ipcdev,        /* 42 */
                    150:        &tcpcdev,       /* 43 */
                    151:        NULL,
                    152:        NULL,
                    153:        NULL,
                    154:        NULL,
                    155:        NULL,
                    156:        NULL,
                    157:        &udpcdev,       /* 50 */
                    158:        NULL,
                    159:        NULL,
                    160:        NULL,
                    161:        &gpibcdev,      /* 54 */
                    162:        &rcocdev,       /* 55 */
                    163:        &imcdev,        /* 56 */
                    164:        NULL,
                    165:        NULL,
                    166:        &tacdev,        /* 59 */
                    167:        &curecdev,      /* 60 */
                    168:        &rcurecdev,     /* 61 */
                    169: };
                    170: struct fstypsw *fstypsw[] = {
                    171:        &fsfs,  /* 0 */
                    172:        &nafs,  /* 1 */
                    173:        &prfs,  /* 2 */
                    174:        &msfs,  /* 3 */
                    175:        &nbfs,  /* 4 */
                    176:        &erfs,  /* 5 */
                    177:        &pipfs, /* 6 */
                    178: };
                    179: struct streamtab *streamtab[] = {
                    180:        &ttystream,     /* 0 */
                    181:        &cdkpstream,    /* 1 */
                    182:        &rdkstream,     /* 2 */
                    183:        NULL,
                    184:        &msgstream,     /* 4 */
                    185:        &dkpstream,     /* 5 */
                    186:        NULL,
                    187:        &bufldstream,   /* 7 */
                    188:        NULL,
                    189:        &rmsgstream,    /* 9 */
                    190:        &ipstream,      /* 10 */
                    191:        &tcpstream,     /* 11 */
                    192:        NULL,
                    193:        NULL,
                    194:        &udpstream,     /* 14 */
                    195:        NULL,
                    196:        NULL,
                    197:        NULL,
                    198:        &connstream,    /* 18 */
                    199:        &xpstream,      /* 19 */
                    200: };
                    201: int proccnt = 600;
                    202: struct proc proc[600];
                    203: int filecnt = 1500;
                    204: struct file file[1500];
                    205: int inodecnt = 1700;
                    206: struct inode inode[1700];
                    207: int calloutcnt = 50;
                    208: struct callout callout[50];
                    209: int textcnt = 120;
                    210: struct text text[120];
                    211: int argcnt = 16;
                    212: struct map argmap[16];
                    213: int swmapcnt = 600;
                    214: struct map swapmap[600];
                    215: int kernelcnt = 500;
                    216: struct map kernelmap[500];
                    217: int swbufcnt = 50;
                    218: struct buf swapbuf[50];
                    219: struct swapinfo swapinfo[50];
                    220: int bufhcnt = 599;
                    221: struct bufhd bufhash[599];
                    222: int queuecnt = 3000;
                    223: struct queue queue[3000];
                    224: int streamcnt = 800;
                    225: struct stdata streams[800];
                    226: int blkcnt = 1600;
                    227: struct block cblock[1600];
                    228: int blkbcnt = 20;
                    229: struct buf *cblkbuf[20];
                    230: int dstflag = 1;
                    231: int timezone = 300;
                    232: int maxtsize = 12256;
                    233: int maxdsize = 204800;
                    234: int maxssize = 204800;
                    235: 
                    236: struct nextab nextab[] = {
                    237:        2, 2,
                    238:        3, 2,
                    239:        2, 4,
                    240:        3, 4,
                    241:        2, 7,
                    242:        2, 0,
                    243:        3, 0,
                    244:        2, 6,
                    245:        -1
                    246: };
                    247: struct biaddr biaaddr[] = {
                    248:        {-1},
                    249:        {-1},
                    250:        {0, 0x0, 0x400, 2},
                    251:        {1, 0x0, 0x600, 3},
                    252: };
                    253: int biacnt = 4;
                    254: int bianode[4];
                    255: struct biaddr bdaddr[] = {
                    256:        {2, 0x10, 0x0, 2},
                    257:        {3, 0x18, 0x0, 3},
                    258: };
                    259: int bdcnt = 2;
                    260: struct bd bd[2];
                    261: extern struct msportsw udport;
                    262: extern struct msportsw bdport;
                    263: int nmsport = 2;
                    264: struct msportsw *msportsw[] = {
                    265:        &udport,        /* 0 */
                    266:        &bdport,        /* 1 */
                    267: };
                    268: struct msaddr raaddr[] = {
                    269:        {0, 1, 0},
                    270:        {0, 1, 1},
                    271:        {1, 1, 2},
                    272:        {1, 1, 3},
                    273:        {0, 1, 4},
                    274:        {0, 1, 5},
                    275:        {1, 1, 6},
                    276:        {1, 1, 7},
                    277: };
                    278: int racnt = 8;
                    279: struct radisk radisk[8];
                    280: struct buf rabuf[8];
                    281: struct biaddr bnaaddr[] = {
                    282:        {4, 0x40, 0x0, 2},
                    283: };
                    284: int bnacnt = 1;
                    285: struct bnactl bna[1];
                    286: struct bnabuf bnabuf[1];
                    287: struct biaddr ubaaddr[] = {
                    288:        {5, 0x20, 0x200, 2},
                    289:        {6, 0x20, 0x800, 3},
                    290:        {7, 0x30, 0xa00, 2},
                    291: };
                    292: int ubacnt = 3;
                    293: struct uba uba[3];
                    294: struct ubaddr kmcaddr[] = {
                    295:        {0760200, 0600, 0},
                    296:        {0760210, 0610, 0},
                    297: };
                    298: int kmccnt = 2;
                    299: struct kmc kmc[2];
                    300: struct ubaddr dzaddr[] = {
                    301:        {0760100, 0300, 0},
                    302: };
                    303: int dzcnt = 8;
                    304: struct dz dz[8];
                    305: struct ubaddr cureaddr[] = {
                    306:        {0776070, 0210, 0},
                    307: };
                    308: int curecnt = 1;
                    309: struct ubaddr rcureaddr[] = {
                    310:        {0776070, 00, 0},
                    311: };
                    312: int rcurecnt = 1;
                    313: struct ubaddr udaddr[] = {
                    314:        {0774500, 0300, 2},
                    315:        {-1, -1, -1},
                    316:        {-1, -1, -1},
                    317:        {0760404, 0310, 0},
                    318: };
                    319: int udcnt = 4;
                    320: struct ud ud[4];
                    321: struct msaddr taaddr[] = {
                    322:        {0, 0, 0},
                    323:        {3, 0, 0},
                    324: };
                    325: int tacnt = 2;
                    326: struct tatape tatape[2];
                    327: struct buf tabuf[2];
                    328: struct ubaddr omaddr[] = {
                    329:        {0772410, 0124, 1},
                    330:        {0772430, 0134, 1},
                    331:        {0772450, 0114, 1},
                    332:        {0772470, 0104, 1},
                    333:        {0772510, 0504, 1},
                    334:        {0772530, 0514, 1},
                    335:        {0772550, 0524, 1},
                    336:        {0772570, 0534, 1},
                    337: };
                    338: int omcnt = 8;
                    339: struct om om[8];
                    340: struct ubaddr imaddr[] = {
                    341:        {0772670, 0164, 1},
                    342: };
                    343: int imcnt = 1;
                    344: struct im im[1];
                    345: struct ubaddr gpibaddr[] = {
                    346:        {0767710, 0350, 1},
                    347: };
                    348: int gpibcnt = 1;
                    349: struct ubaddr rcoaddr[] = {
                    350:        {0774000, 0150, 1},
                    351: };
                    352: int rcocnt = 1;
                    353: struct rco rco[1];
                    354: int kdicnt = 2;
                    355: struct kdikmc kdikmc[2];
                    356: struct kmcdk k[2];
                    357: int cncnt = 0;
                    358: int ttycnt = 128;
                    359: struct ttyld ttyld[128];
                    360: int msgcnt = 300;
                    361: struct imesg mesg[300];
                    362: int rdkcnt = 0;
                    363: int xpcnt = 0;
                    364: int dkpcnt = 255;
                    365: struct dkp dkp[255];
                    366: int cdkpcnt = 0;
                    367: int fscnt = 48;
                    368: struct mount fsmtab[48];
                    369: int ipcnt = 4;
                    370: struct ipif ipif[4];
                    371: struct ipif *ipifsort[4];
                    372: int udpcnt = 16;
                    373: struct udp udpconn[16];
                    374: int tcpcnt = 64;
                    375: struct tcpcb tcpcb[64];
                    376: int arpcnt = 128;
                    377: struct ip_arp ip_arps[128];
                    378: int bufldcnt = 4;
                    379: struct bufld bufld[4];
                    380: int rootfstyp = 0;
                    381: dev_t rootdev = makedev(7, 64);
                    382: dev_t swapdev = makedev(4, 0);
                    383: struct swdevt swdevt[] = {
                    384:        {makedev(7, 3), 249848L},
                    385:        {makedev(7, 11), 249848L},
                    386:        {makedev(7, 19), 249848L},
                    387: };
                    388: int nswdevt = 3;
                    389: extern int bddump();
                    390: int (*dumprout)() = bddump;
                    391: int dumpunit = 9217;
                    392: long dumplow = 530416;
                    393: long dumpsize = 249848;

unix.superglobalmegacorp.com

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