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