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