Annotation of researchv10dc/lsys/mercury/icarus.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/mba.h"
                     17: #include "sys/mbaddr.h"
                     18: #include "sys/nxaddr.h"
                     19: #include "sys/nexus.h"
                     20: #include "sys/ubaddr.h"
                     21: #include "sys/uba.h"
                     22: #include "sys/uda.h"
                     23: #include "sys/inet/in.h"
                     24: #include "sys/inet/ip_var.h"
                     25: #include "sys/inet/udp.h"
                     26: #include "sys/inet/tcp.h"
                     27: #include "sys/inet/tcp_timer.h"
                     28: #include "sys/inet/tcp_var.h"
                     29: #include "sys/subaddr.h"
                     30: #include "sys/dz.h"
                     31: #include "sys/kmc.h"
                     32: #include "sys/kdi.h"
                     33: #include "sys/mscp.h"
                     34: #include "sys/ni1010a.h"
                     35: #include "sys/udaioc.h"
                     36: #include "sys/ra.h"
                     37: #include "sys/tu78.h"
                     38: #include "sys/hp.h"
                     39: #include "sys/bad144.h"
                     40: #include "sys/ttyio.h"
                     41: #include "sys/ttyld.h"
                     42: #include "sys/bufld.h"
                     43: #include "sys/mesg.h"
                     44: #include "sys/nttyio.h"
                     45: #include "sys/nttyld.h"
                     46: #include "sys/mount.h"
                     47: extern struct bdevsw hpbdev;
                     48: extern struct bdevsw swbdev;
                     49: extern struct bdevsw rabdev;
                     50: extern struct bdevsw tu78bdev;
                     51: int nblkdev = 9;
                     52: extern struct cdevsw cncdev;
                     53: extern struct cdevsw dzcdev;
                     54: extern struct cdevsw mmcdev;
                     55: extern struct cdevsw hpcdev;
                     56: extern struct cdevsw swcdev;
                     57: extern struct cdevsw tu78cdev;
                     58: extern struct cdevsw kmccdev;
                     59: extern struct cdevsw racdev;
                     60: extern struct cdevsw kdicdev;
                     61: extern struct cdevsw fdcdev;
                     62: extern struct cdevsw ipcdev;
                     63: extern struct cdevsw tcpcdev;
                     64: extern struct cdevsw ilcdev;
                     65: extern struct cdevsw udpcdev;
                     66: int nchrdev = 51;
                     67: extern struct fstypsw fsfs;
                     68: extern struct fstypsw nafs;
                     69: extern struct fstypsw prfs;
                     70: extern struct fstypsw msfs;
                     71: extern struct fstypsw nbfs;
                     72: extern struct fstypsw erfs;
                     73: extern struct fstypsw pipfs;
                     74: int nfstyp = 7;
                     75: extern struct streamtab ttystream;
                     76: extern struct streamtab msgstream;
                     77: extern struct streamtab nttystream;
                     78: extern struct streamtab bufldstream;
                     79: extern struct streamtab rmsgstream;
                     80: extern struct streamtab ipstream;
                     81: extern struct streamtab tcpstream;
                     82: extern struct streamtab udpstream;
                     83: extern struct streamtab connstream;
                     84: extern struct streamtab xpstream;
                     85: int nstreamtab = 20;
                     86: 
                     87: struct bdevsw *bdevsw[] = {
                     88:        &hpbdev,        /* 0 */
                     89:        NULL,
                     90:        NULL,
                     91:        NULL,
                     92:        &swbdev,        /* 4 */
                     93:        NULL,
                     94:        NULL,
                     95:        &rabdev,        /* 7 */
                     96:        &tu78bdev,      /* 8 */
                     97: };
                     98: struct cdevsw *cdevsw[] = {
                     99:        &cncdev,        /* 0 */
                    100:        &dzcdev,        /* 1 */
                    101:        NULL,
                    102:        &mmcdev,        /* 3 */
                    103:        &hpcdev,        /* 4 */
                    104:        NULL,
                    105:        NULL,
                    106:        &swcdev,        /* 7 */
                    107:        NULL,
                    108:        NULL,
                    109:        NULL,
                    110:        NULL,
                    111:        NULL,
                    112:        NULL,
                    113:        NULL,
                    114:        NULL,
                    115:        NULL,
                    116:        NULL,
                    117:        NULL,
                    118:        NULL,
                    119:        NULL,
                    120:        NULL,
                    121:        &tu78cdev,      /* 22 */
                    122:        NULL,
                    123:        NULL,
                    124:        NULL,
                    125:        &kmccdev,       /* 26 */
                    126:        NULL,
                    127:        &racdev,        /* 28 */
                    128:        NULL,
                    129:        NULL,
                    130:        &kdicdev,       /* 31 */
                    131:        NULL,
                    132:        NULL,
                    133:        NULL,
                    134:        NULL,
                    135:        NULL,
                    136:        NULL,
                    137:        NULL,
                    138:        NULL,
                    139:        &fdcdev,        /* 40 */
                    140:        NULL,
                    141:        &ipcdev,        /* 42 */
                    142:        &tcpcdev,       /* 43 */
                    143:        &ilcdev,        /* 44 */
                    144:        NULL,
                    145:        NULL,
                    146:        NULL,
                    147:        NULL,
                    148:        NULL,
                    149:        &udpcdev,       /* 50 */
                    150: };
                    151: struct fstypsw *fstypsw[] = {
                    152:        &fsfs,  /* 0 */
                    153:        &nafs,  /* 1 */
                    154:        &prfs,  /* 2 */
                    155:        &msfs,  /* 3 */
                    156:        &nbfs,  /* 4 */
                    157:        &erfs,  /* 5 */
                    158:        &pipfs, /* 6 */
                    159: };
                    160: struct streamtab *streamtab[] = {
                    161:        &ttystream,     /* 0 */
                    162:        NULL,
                    163:        NULL,
                    164:        NULL,
                    165:        &msgstream,     /* 4 */
                    166:        NULL,
                    167:        &nttystream,    /* 6 */
                    168:        &bufldstream,   /* 7 */
                    169:        NULL,
                    170:        &rmsgstream,    /* 9 */
                    171:        &ipstream,      /* 10 */
                    172:        &tcpstream,     /* 11 */
                    173:        NULL,
                    174:        NULL,
                    175:        &udpstream,     /* 14 */
                    176:        NULL,
                    177:        NULL,
                    178:        NULL,
                    179:        &connstream,    /* 18 */
                    180:        &xpstream,      /* 19 */
                    181: };
                    182: 
                    183: struct nextab nextab[] = {
                    184:        0, 0,
                    185:        0, 4,
                    186:        0, 5,
                    187:        0, 8,
                    188:        -1
                    189: };
                    190: struct nxaddr mcraddr[] = {
                    191:        {0, 0, 0x0},
                    192: };
                    193: int mcrcnt = 1;
                    194: caddr_t mcrregs[1];
                    195: time_t mcrtime[1];
                    196: int proccnt = 300;
                    197: struct proc proc[300];
                    198: int filecnt = 500;
                    199: struct file file[500];
                    200: int inodecnt = 700;
                    201: struct inode inode[700];
                    202: int calloutcnt = 50;
                    203: struct callout callout[50];
                    204: int textcnt = 60;
                    205: struct text text[60];
                    206: int argcnt = 16;
                    207: struct map argmap[16];
                    208: int swmapcnt = 200;
                    209: struct map swapmap[200];
                    210: int kernelcnt = 100;
                    211: struct map kernelmap[100];
                    212: int swbufcnt = 50;
                    213: struct buf swapbuf[50];
                    214: struct swapinfo swapinfo[50];
                    215: int bufhcnt = 63;
                    216: struct bufhd bufhash[63];
                    217: int queuecnt = 1024;
                    218: struct queue queue[1024];
                    219: int streamcnt = 256;
                    220: struct stdata streams[256];
                    221: int dstflag = 1;
                    222: int timezone = 300;
                    223: int maxtsize = 12256;
                    224: int maxdsize = 24544;
                    225: int maxssize = 24544;
                    226: struct nxaddr mbaaddr[] = {
                    227:        {1, 0, 0x0},
                    228:        {2, 0, 0x0},
                    229: };
                    230: int mbacnt = 2;
                    231: struct mba mba[2];
                    232: extern hp0int();
                    233: extern hp0int();
                    234: extern hp0int();
                    235: extern hp0int();
                    236: extern hp0int();
                    237: extern hp0int();
                    238: extern hp0int();
                    239: extern hp0int();
                    240: extern tm780int();
                    241: char mbaid[][8] = {
                    242:  0, 1, 2, 3, 4, 5, 6, 7,
                    243:  0, 011, 012, 013, 014, 015, 016, 017,
                    244: };
                    245: int mbastray();
                    246: int (*mbavec[][8])() = {
                    247:  hp0int, hp0int, hp0int, hp0int, hp0int, hp0int, hp0int, hp0int,
                    248:  tm780int, mbastray, mbastray, mbastray, mbastray, mbastray, mbastray, mbastray,
                    249: };
                    250: struct mbaddr hpaddr[] = {
                    251:        {0, 0},
                    252:        {1, 0},
                    253:        {2, 0},
                    254:        {3, 0},
                    255:        {4, 0},
                    256:        {5, 0},
                    257:        {6, 0},
                    258:        {7, 0},
                    259: };
                    260: int hpcnt = 8;
                    261: struct hpdisk hpdisk[8];
                    262: struct buf hpbuf[8];
                    263: struct buf hpbadbuf[8];
                    264: struct bad144 hpbad[8];
                    265: struct mbaddr tm78addr[] = {
                    266:        {0, 1},
                    267: };
                    268: int tm78cnt = 1;
                    269: struct tm78 tm78[1];
                    270: struct subaddr tu78addr[] = {
                    271:        {0, 0},
                    272: };
                    273: int tu78cnt = 1;
                    274: struct tu78 tu78[1];
                    275: struct buf ctu78buf[1];
                    276: struct buf rtu78buf[1];
                    277: struct nxaddr ubaaddr[] = {
                    278:        {3, 0, 0x200},
                    279: };
                    280: int ubacnt = 1;
                    281: struct uba uba[1];
                    282: struct ubaddr udaddr[] = {
                    283:        {0772150, 0254, 0},
                    284: };
                    285: int udcnt = 1;
                    286: struct ud ud[1];
                    287: extern struct msportsw udport;
                    288: int nmsport = 1;
                    289: struct msportsw *msportsw[] = {
                    290:        &udport,        /* 0 */
                    291: };
                    292: struct msaddr raaddr[] = {
                    293:        {0, 0, 0},
                    294: };
                    295: int racnt = 1;
                    296: struct radisk radisk[1];
                    297: struct buf rabuf[1];
                    298: struct ubaddr dzaddr[] = {
                    299:        {0760100, 0300, 0},
                    300: };
                    301: int dzcnt = 8;
                    302: struct dz dz[8];
                    303: struct ubaddr kmcaddr[] = {
                    304:        {0760200, 0400, 0},
                    305: };
                    306: int kmccnt = 1;
                    307: struct kmc kmc[1];
                    308: struct ubaddr iladdr[] = {
                    309:        {0764000, 0340, 0},
                    310: };
                    311: int ilcnt = 1;
                    312: struct il il[1];
                    313: int kdicnt = 1;
                    314: struct kdikmc kdikmc[1];
                    315: struct kmcdk k[1];
                    316: int cncnt = 0;
                    317: int ipcnt = 4;
                    318: struct ipif ipif[4];
                    319: struct ipif *ipifsort[4];
                    320: int udpcnt = 16;
                    321: struct udp udpconn[16];
                    322: int tcpcnt = 32;
                    323: struct tcpcb tcpcb[32];
                    324: int arpcnt = 64;
                    325: struct ip_arp ip_arps[64];
                    326: int ttycnt = 48;
                    327: struct ttyld ttyld[48];
                    328: int nttycnt = 32;
                    329: struct nttyld ntty[32];
                    330: int msgcnt = 64;
                    331: struct imesg mesg[64];
                    332: int xpcnt = 0;
                    333: int bufldcnt = 4;
                    334: struct bufld bufld[4];
                    335: int fscnt = 30;
                    336: struct mount fsmtab[30];
                    337: int blkcnt = 1200;
                    338: struct block cblock[1200];
                    339: int blkbcnt = 30;
                    340: struct buf *cblkbuf[30];
                    341: int rootfstyp = 0;
                    342: dev_t rootdev = makedev(0, 0);
                    343: dev_t swapdev = makedev(4, 0);
                    344: struct swdevt swdevt[] = {
                    345:        {makedev(0, 1), 21120L},
                    346:        {makedev(0, 9), 21120L},
                    347: };
                    348: int nswdevt = 2;
                    349: extern int hpdump();
                    350: int (*dumprout)() = hpdump;
                    351: int dumpunit = 1;
                    352: long dumplow = 10560;
                    353: long dumpsize = 21120;

unix.superglobalmegacorp.com

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