Annotation of researchv10dc/sys/mhd/sweet.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/nxaddr.h"
                     17: #include "sys/nexus.h"
                     18: #include "sys/ubaddr.h"
                     19: #include "sys/uba.h"
                     20: #include "sys/uda.h"
                     21: #include "sys/inet/in.h"
                     22: #include "sys/inet/ip_var.h"
                     23: #include "sys/inet/udp.h"
                     24: #include "sys/inet/tcp.h"
                     25: #include "sys/inet/tcp_timer.h"
                     26: #include "sys/inet/tcp_var.h"
                     27: #include "sys/kmc.h"
                     28: #include "sys/kdi.h"
                     29: #include "sys/mscp.h"
                     30: #include "sys/scsi.h"
                     31: #include "sys/ni1010a.h"
                     32: #include "sys/udaioc.h"
                     33: #include "sys/ra.h"
                     34: #include "sys/ttyio.h"
                     35: #include "sys/ttyld.h"
                     36: #include "sys/bufld.h"
                     37: #include "sys/mesg.h"
                     38: #include "sys/mount.h"
                     39: extern struct bdevsw swbdev;
                     40: extern struct bdevsw rabdev;
                     41: int nblkdev = 8;
                     42: extern struct cdevsw cncdev;
                     43: extern struct cdevsw mmcdev;
                     44: extern struct cdevsw swcdev;
                     45: extern struct cdevsw scsicdev;
                     46: extern struct cdevsw kmccdev;
                     47: extern struct cdevsw racdev;
                     48: extern struct cdevsw kdicdev;
                     49: extern struct cdevsw fdcdev;
                     50: extern struct cdevsw ipcdev;
                     51: extern struct cdevsw tcpcdev;
                     52: extern struct cdevsw ilcdev;
                     53: extern struct cdevsw udpcdev;
                     54: int nchrdev = 51;
                     55: extern struct fstypsw fsfs;
                     56: extern struct fstypsw prfs;
                     57: extern struct fstypsw msfs;
                     58: extern struct fstypsw nbfs;
                     59: extern struct fstypsw erfs;
                     60: extern struct fstypsw pipfs;
                     61: int nfstyp = 7;
                     62: extern struct streamtab ttystream;
                     63: extern struct streamtab msgstream;
                     64: extern struct streamtab bufldstream;
                     65: extern struct streamtab rmsgstream;
                     66: extern struct streamtab ipstream;
                     67: extern struct streamtab tcpstream;
                     68: extern struct streamtab udpstream;
                     69: extern struct streamtab connstream;
                     70: extern struct streamtab xpstream;
                     71: int nstreamtab = 20;
                     72: 
                     73: struct bdevsw *bdevsw[] = {
                     74:        NULL,
                     75:        NULL,
                     76:        NULL,
                     77:        NULL,
                     78:        &swbdev,        /* 4 */
                     79:        NULL,
                     80:        NULL,
                     81:        &rabdev,        /* 7 */
                     82: };
                     83: struct cdevsw *cdevsw[] = {
                     84:        &cncdev,        /* 0 */
                     85:        NULL,
                     86:        NULL,
                     87:        &mmcdev,        /* 3 */
                     88:        NULL,
                     89:        NULL,
                     90:        NULL,
                     91:        &swcdev,        /* 7 */
                     92:        NULL,
                     93:        NULL,
                     94:        NULL,
                     95:        &scsicdev,      /* 11 */
                     96:        NULL,
                     97:        NULL,
                     98:        NULL,
                     99:        NULL,
                    100:        NULL,
                    101:        NULL,
                    102:        NULL,
                    103:        NULL,
                    104:        NULL,
                    105:        NULL,
                    106:        NULL,
                    107:        NULL,
                    108:        NULL,
                    109:        NULL,
                    110:        &kmccdev,       /* 26 */
                    111:        NULL,
                    112:        &racdev,        /* 28 */
                    113:        NULL,
                    114:        NULL,
                    115:        &kdicdev,       /* 31 */
                    116:        NULL,
                    117:        NULL,
                    118:        NULL,
                    119:        NULL,
                    120:        NULL,
                    121:        NULL,
                    122:        NULL,
                    123:        NULL,
                    124:        &fdcdev,        /* 40 */
                    125:        NULL,
                    126:        &ipcdev,        /* 42 */
                    127:        &tcpcdev,       /* 43 */
                    128:        &ilcdev,        /* 44 */
                    129:        NULL,
                    130:        NULL,
                    131:        NULL,
                    132:        NULL,
                    133:        NULL,
                    134:        &udpcdev,       /* 50 */
                    135: };
                    136: struct fstypsw *fstypsw[] = {
                    137:        &fsfs,  /* 0 */
                    138:        NULL,
                    139:        &prfs,  /* 2 */
                    140:        &msfs,  /* 3 */
                    141:        &nbfs,  /* 4 */
                    142:        &erfs,  /* 5 */
                    143:        &pipfs, /* 6 */
                    144: };
                    145: struct streamtab *streamtab[] = {
                    146:        &ttystream,     /* 0 */
                    147:        NULL,
                    148:        NULL,
                    149:        NULL,
                    150:        &msgstream,     /* 4 */
                    151:        NULL,
                    152:        NULL,
                    153:        &bufldstream,   /* 7 */
                    154:        NULL,
                    155:        &rmsgstream,    /* 9 */
                    156:        &ipstream,      /* 10 */
                    157:        &tcpstream,     /* 11 */
                    158:        NULL,
                    159:        NULL,
                    160:        &udpstream,     /* 14 */
                    161:        NULL,
                    162:        NULL,
                    163:        NULL,
                    164:        &connstream,    /* 18 */
                    165:        &xpstream,      /* 19 */
                    166: };
                    167: 
                    168: struct nextab nextab[] = {
                    169:        0, 0,
                    170:        0, 8,
                    171:        -1
                    172: };
                    173: struct nxaddr mcraddr[] = {
                    174:        {0, 0, 0x0},
                    175: };
                    176: int mcrcnt = 1;
                    177: caddr_t mcrregs[1];
                    178: time_t mcrtime[1];
                    179: int proccnt = 300;
                    180: struct proc proc[300];
                    181: int filecnt = 500;
                    182: struct file file[500];
                    183: int inodecnt = 700;
                    184: struct inode inode[700];
                    185: int calloutcnt = 50;
                    186: struct callout callout[50];
                    187: int textcnt = 60;
                    188: struct text text[60];
                    189: int argcnt = 16;
                    190: struct map argmap[16];
                    191: int swmapcnt = 200;
                    192: struct map swapmap[200];
                    193: int kernelcnt = 100;
                    194: struct map kernelmap[100];
                    195: int swbufcnt = 50;
                    196: struct buf swapbuf[50];
                    197: struct swapinfo swapinfo[50];
                    198: int bufhcnt = 63;
                    199: struct bufhd bufhash[63];
                    200: int queuecnt = 1024;
                    201: struct queue queue[1024];
                    202: int streamcnt = 256;
                    203: struct stdata streams[256];
                    204: int blkcnt = 600;
                    205: struct block cblock[600];
                    206: int blkbcnt = 10;
                    207: struct buf *cblkbuf[10];
                    208: int dstflag = 1;
                    209: int timezone = 300;
                    210: int maxtsize = 12256;
                    211: int maxdsize = 24544;
                    212: int maxssize = 24544;
                    213: struct nxaddr ubaaddr[] = {
                    214:        {1, 0, 0x200},
                    215: };
                    216: int ubacnt = 1;
                    217: struct uba uba[1];
                    218: struct ubaddr udaddr[] = {
                    219:        {0772150, 0254, 0},
                    220:        {0760334, 0260, 0},
                    221: };
                    222: int udcnt = 2;
                    223: struct ud ud[2];
                    224: extern struct msportsw udport;
                    225: int nmsport = 1;
                    226: struct msportsw *msportsw[] = {
                    227:        &udport,        /* 0 */
                    228: };
                    229: struct msaddr raaddr[] = {
                    230:        {0, 0, 0},
                    231:        {0, 0, 1},
                    232:        {0, 0, 2},
                    233:        {0, 0, 3},
                    234:        {1, 0, 0},
                    235:        {1, 0, 1},
                    236: };
                    237: int racnt = 6;
                    238: struct radisk radisk[6];
                    239: struct buf rabuf[6];
                    240: struct ubaddr kmcaddr[] = {
                    241:        {0760300, 0600, 0},
                    242: };
                    243: int kmccnt = 1;
                    244: struct kmc kmc[1];
                    245: struct ubaddr iladdr[] = {
                    246:        {0764000, 0340, 0},
                    247: };
                    248: int ilcnt = 1;
                    249: struct il il[1];
                    250: struct ubaddr scsiaddr[] = {
                    251:        {0772154, 0700, 0},
                    252: };
                    253: int scsicnt = 1;
                    254: struct scsi scsi[1];
                    255: int kdicnt = 1;
                    256: struct kdikmc kdikmc[1];
                    257: struct kmcdk k[1];
                    258: int cncnt = 0;
                    259: int ipcnt = 4;
                    260: struct ipif ipif[4];
                    261: struct ipif *ipifsort[4];
                    262: int udpcnt = 16;
                    263: struct udp udpconn[16];
                    264: int tcpcnt = 64;
                    265: struct tcpcb tcpcb[64];
                    266: int arpcnt = 128;
                    267: struct ip_arp ip_arps[128];
                    268: int ttycnt = 64;
                    269: struct ttyld ttyld[64];
                    270: int msgcnt = 64;
                    271: struct imesg mesg[64];
                    272: int xpcnt = 0;
                    273: int bufldcnt = 4;
                    274: struct bufld bufld[4];
                    275: int fscnt = 30;
                    276: struct mount fsmtab[30];
                    277: int rootfstyp = 0;
                    278: dev_t rootdev = makedev(7, 64);
                    279: dev_t swapdev = makedev(4, 0);
                    280: struct swdevt swdevt[] = {
                    281:        {makedev(7, 1), 20480L},
                    282:        {makedev(7, 9), 20480L},
                    283:        {makedev(7, 17), 20480L},
                    284:        {makedev(7, 25), 20480L},
                    285: };
                    286: int nswdevt = 4;
                    287: extern int uddump();
                    288: int (*dumprout)() = uddump;
                    289: int dumpunit = 0;
                    290: long dumplow = 10240;
                    291: 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.