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