Annotation of researchv10dc/sys/misc/most.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/om.h"
                     32: #include "sys/kmc.h"
                     33: #include "sys/kdi.h"
                     34: #include "sys/mscp.h"
                     35: #include "sys/ni1010a.h"
                     36: #include "sys/udaioc.h"
                     37: #include "sys/ra.h"
                     38: #include "sys/tu78.h"
                     39: #include "sys/ttyio.h"
                     40: #include "sys/ttyld.h"
                     41: #include "sys/bufld.h"
                     42: #include "sys/mesg.h"
                     43: #include "sys/mount.h"
                     44: extern struct bdevsw swbdev;
                     45: extern struct bdevsw rabdev;
                     46: extern struct bdevsw tu78bdev;
                     47: int nblkdev = 9;
                     48: extern struct cdevsw cncdev;
                     49: extern struct cdevsw dzcdev;
                     50: extern struct cdevsw mmcdev;
                     51: extern struct cdevsw swcdev;
                     52: extern struct cdevsw tu78cdev;
                     53: extern struct cdevsw kmccdev;
                     54: extern struct cdevsw racdev;
                     55: extern struct cdevsw kdicdev;
                     56: extern struct cdevsw omcdev;
                     57: extern struct cdevsw fdcdev;
                     58: extern struct cdevsw ipcdev;
                     59: extern struct cdevsw tcpcdev;
                     60: extern struct cdevsw ilcdev;
                     61: extern struct cdevsw udpcdev;
                     62: int nchrdev = 51;
                     63: extern struct fstypsw fsfs;
                     64: extern struct fstypsw nafs;
                     65: extern struct fstypsw prfs;
                     66: extern struct fstypsw msfs;
                     67: extern struct fstypsw nbfs;
                     68: extern struct fstypsw erfs;
                     69: extern struct fstypsw pipfs;
                     70: int nfstyp = 7;
                     71: extern struct streamtab ttystream;
                     72: extern struct streamtab rdkstream;
                     73: extern struct streamtab msgstream;
                     74: extern struct streamtab bufldstream;
                     75: extern struct streamtab rmsgstream;
                     76: extern struct streamtab ipstream;
                     77: extern struct streamtab tcpstream;
                     78: extern struct streamtab udpstream;
                     79: extern struct streamtab connstream;
                     80: int nstreamtab = 19;
                     81: 
                     82: struct bdevsw *bdevsw[] = {
                     83:        NULL,
                     84:        NULL,
                     85:        NULL,
                     86:        NULL,
                     87:        &swbdev,        /* 4 */
                     88:        NULL,
                     89:        NULL,
                     90:        &rabdev,        /* 7 */
                     91:        &tu78bdev,      /* 8 */
                     92: };
                     93: struct cdevsw *cdevsw[] = {
                     94:        &cncdev,        /* 0 */
                     95:        &dzcdev,        /* 1 */
                     96:        NULL,
                     97:        &mmcdev,        /* 3 */
                     98:        NULL,
                     99:        NULL,
                    100:        NULL,
                    101:        &swcdev,        /* 7 */
                    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:        NULL,
                    115:        NULL,
                    116:        &tu78cdev,      /* 22 */
                    117:        NULL,
                    118:        NULL,
                    119:        NULL,
                    120:        &kmccdev,       /* 26 */
                    121:        NULL,
                    122:        &racdev,        /* 28 */
                    123:        NULL,
                    124:        NULL,
                    125:        &kdicdev,       /* 31 */
                    126:        NULL,
                    127:        NULL,
                    128:        NULL,
                    129:        NULL,
                    130:        NULL,
                    131:        NULL,
                    132:        NULL,
                    133:        &omcdev,        /* 39 */
                    134:        &fdcdev,        /* 40 */
                    135:        NULL,
                    136:        &ipcdev,        /* 42 */
                    137:        &tcpcdev,       /* 43 */
                    138:        &ilcdev,        /* 44 */
                    139:        NULL,
                    140:        NULL,
                    141:        NULL,
                    142:        NULL,
                    143:        NULL,
                    144:        &udpcdev,       /* 50 */
                    145: };
                    146: struct fstypsw *fstypsw[] = {
                    147:        &fsfs,  /* 0 */
                    148:        &nafs,  /* 1 */
                    149:        &prfs,  /* 2 */
                    150:        &msfs,  /* 3 */
                    151:        &nbfs,  /* 4 */
                    152:        &erfs,  /* 5 */
                    153:        &pipfs, /* 6 */
                    154: };
                    155: struct streamtab *streamtab[] = {
                    156:        &ttystream,     /* 0 */
                    157:        NULL,
                    158:        &rdkstream,     /* 2 */
                    159:        NULL,
                    160:        &msgstream,     /* 4 */
                    161:        NULL,
                    162:        NULL,
                    163:        &bufldstream,   /* 7 */
                    164:        NULL,
                    165:        &rmsgstream,    /* 9 */
                    166:        &ipstream,      /* 10 */
                    167:        &tcpstream,     /* 11 */
                    168:        NULL,
                    169:        NULL,
                    170:        &udpstream,     /* 14 */
                    171:        NULL,
                    172:        NULL,
                    173:        NULL,
                    174:        &connstream,    /* 18 */
                    175: };
                    176: 
                    177: struct nextab nextab[] = {
                    178:        0, 0,
                    179:        0, 4,
                    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 blkcnt = 600;
                    215: struct block cblock[600];
                    216: int dstflag = 1;
                    217: int timezone = 300;
                    218: int maxtsize = 12256;
                    219: int maxssize = 24544;
                    220: struct nxaddr mbaaddr[] = {
                    221:        {1, 0, 0x0},
                    222: };
                    223: int mbacnt = 1;
                    224: struct mba mba[1];
                    225: extern tm780int();
                    226: char mbaid[][8] = {
                    227:  0, 01, 02, 03, 04, 05, 06, 07,
                    228: };
                    229: int mbastray();
                    230: int (*mbavec[][8])() = {
                    231:  tm780int, mbastray, mbastray, mbastray, mbastray, mbastray, mbastray, mbastray,
                    232: };
                    233: struct mbaddr tm78addr[] = {
                    234:        {0, 0},
                    235: };
                    236: int tm78cnt = 1;
                    237: struct tm78 tm78[1];
                    238: struct subaddr tu78addr[] = {
                    239:        {0, 0},
                    240: };
                    241: int tu78cnt = 1;
                    242: struct tu78 tu78[1];
                    243: struct buf ctu78buf[1];
                    244: struct buf rtu78buf[1];
                    245: struct nxaddr ubaaddr[] = {
                    246:        {2, 0, 0x200},
                    247: };
                    248: int ubacnt = 1;
                    249: struct uba uba[1];
                    250: struct ubaddr udaddr[] = {
                    251:        {0772150, 0154, 0},
                    252: };
                    253: int udcnt = 1;
                    254: struct ud ud[1];
                    255: extern struct msportsw udport;
                    256: int nmsport = 1;
                    257: struct msportsw *msportsw[] = {
                    258:        &udport,        /* 0 */
                    259: };
                    260: struct msaddr raaddr[] = {
                    261:        {0, 0, 0},
                    262:        {0, 0, 1},
                    263:        {0, 0, 2},
                    264:        {0, 0, 3},
                    265: };
                    266: int racnt = 4;
                    267: struct radisk radisk[4];
                    268: struct buf rabuf[4];
                    269: struct ubaddr omaddr[] = {
                    270:        {0772410, 0124, 0},
                    271:        {0772430, 0134, 0},
                    272:        {0772450, 0114, 0},
                    273: };
                    274: int omcnt = 3;
                    275: struct om om[3];
                    276: struct ubaddr kmcaddr[] = {
                    277:        {0760200, 0600, 0},
                    278: };
                    279: int kmccnt = 1;
                    280: struct kmc kmc[1];
                    281: struct ubaddr dzaddr[] = {
                    282:        {0760100, 0300, 0},
                    283: };
                    284: int dzcnt = 8;
                    285: struct dz dz[8];
                    286: struct ubaddr iladdr[] = {
                    287:        {0764000, 0340, 0},
                    288: };
                    289: int ilcnt = 1;
                    290: struct il il[1];
                    291: int kdicnt = 1;
                    292: struct kdikmc kdikmc[1];
                    293: struct kmcdk k[1];
                    294: int cncnt = 0;
                    295: int ttycnt = 32;
                    296: struct ttyld ttyld[32];
                    297: int msgcnt = 256;
                    298: struct imesg mesg[256];
                    299: int rdkcnt = 0;
                    300: int fscnt = 20;
                    301: struct mount fsmtab[20];
                    302: int maxdsize = 57280;
                    303: int ipcnt = 4;
                    304: struct ipif ipif[4];
                    305: struct ipif *ipifsort[4];
                    306: int udpcnt = 32;
                    307: struct udp udpconn[32];
                    308: int tcpcnt = 64;
                    309: struct tcpcb tcpcb[64];
                    310: int arpcnt = 64;
                    311: struct ip_arp ip_arps[64];
                    312: int bufldcnt = 4;
                    313: struct bufld bufld[4];
                    314: int blkbcnt = 20;
                    315: struct buf *cblkbuf[20];
                    316: int rootfstyp = 0;
                    317: dev_t rootdev = makedev(7, 64);
                    318: dev_t swapdev = makedev(4, 0);
                    319: struct swdevt swdevt[] = {
                    320:        {makedev(7, 1), 20480L},
                    321:        {makedev(7, 9), 20480L},
                    322:        {makedev(7, 17), 20480L},
                    323:        {makedev(7, 25), 20480L},
                    324: };
                    325: int nswdevt = 4;
                    326: extern int uddump();
                    327: int (*dumprout)() = uddump;
                    328: int dumpunit = 1;
                    329: long dumplow = 10240;
                    330: 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.