Annotation of researchv10dc/sys/astro/research.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/dz.h"
                     28: #include "sys/mg.h"
                     29: #include "sys/kmc.h"
                     30: #include "sys/kdi.h"
                     31: #include "sys/kb.h"
                     32: #include "sys/mscp.h"
                     33: #include "sys/ni1010a.h"
                     34: #include "sys/udaioc.h"
                     35: #include "sys/ra.h"
                     36: #include "sys/ttyio.h"
                     37: #include "sys/ttyld.h"
                     38: #include "sys/bufld.h"
                     39: #include "sys/mesg.h"
                     40: #include "sys/dkp.h"
                     41: #include "sys/mount.h"
                     42: extern struct bdevsw swbdev;
                     43: extern struct bdevsw rabdev;
                     44: int nblkdev = 8;
                     45: extern struct cdevsw cncdev;
                     46: extern struct cdevsw dzcdev;
                     47: extern struct cdevsw mmcdev;
                     48: extern struct cdevsw swcdev;
                     49: extern struct cdevsw kbcdev;
                     50: extern struct cdevsw dncdev;
                     51: extern struct cdevsw kmccdev;
                     52: extern struct cdevsw racdev;
                     53: extern struct cdevsw kdicdev;
                     54: extern struct cdevsw mgcdev;
                     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 rdkstream;
                     70: extern struct streamtab msgstream;
                     71: extern struct streamtab dkpstream;
                     72: extern struct streamtab bufldstream;
                     73: extern struct streamtab rmsgstream;
                     74: extern struct streamtab ipstream;
                     75: extern struct streamtab tcpstream;
                     76: extern struct streamtab udpstream;
                     77: extern struct streamtab connstream;
                     78: extern struct streamtab xpstream;
                     79: int nstreamtab = 20;
                     80: 
                     81: struct bdevsw *bdevsw[] = {
                     82:        NULL,
                     83:        NULL,
                     84:        NULL,
                     85:        NULL,
                     86:        &swbdev,        /* 4 */
                     87:        NULL,
                     88:        NULL,
                     89:        &rabdev,        /* 7 */
                     90: };
                     91: struct cdevsw *cdevsw[] = {
                     92:        &cncdev,        /* 0 */
                     93:        &dzcdev,        /* 1 */
                     94:        NULL,
                     95:        &mmcdev,        /* 3 */
                     96:        NULL,
                     97:        NULL,
                     98:        NULL,
                     99:        &swcdev,        /* 7 */
                    100:        NULL,
                    101:        NULL,
                    102:        &kbcdev,        /* 10 */
                    103:        NULL,
                    104:        NULL,
                    105:        NULL,
                    106:        NULL,
                    107:        NULL,
                    108:        NULL,
                    109:        NULL,
                    110:        NULL,
                    111:        &dncdev,        /* 19 */
                    112:        NULL,
                    113:        NULL,
                    114:        NULL,
                    115:        NULL,
                    116:        NULL,
                    117:        NULL,
                    118:        &kmccdev,       /* 26 */
                    119:        NULL,
                    120:        &racdev,        /* 28 */
                    121:        NULL,
                    122:        NULL,
                    123:        &kdicdev,       /* 31 */
                    124:        &mgcdev,        /* 32 */
                    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:        &rdkstream,     /* 2 */
                    157:        NULL,
                    158:        &msgstream,     /* 4 */
                    159:        &dkpstream,     /* 5 */
                    160:        NULL,
                    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, 8,
                    179:        -1
                    180: };
                    181: struct nxaddr mcraddr[] = {
                    182:        {0, 0, 0x0},
                    183: };
                    184: int mcrcnt = 1;
                    185: caddr_t mcrregs[1];
                    186: time_t mcrtime[1];
                    187: int proccnt = 300;
                    188: struct proc proc[300];
                    189: int filecnt = 500;
                    190: struct file file[500];
                    191: int inodecnt = 700;
                    192: struct inode inode[700];
                    193: int calloutcnt = 50;
                    194: struct callout callout[50];
                    195: int textcnt = 60;
                    196: struct text text[60];
                    197: int argcnt = 16;
                    198: struct map argmap[16];
                    199: int swmapcnt = 200;
                    200: struct map swapmap[200];
                    201: int kernelcnt = 100;
                    202: struct map kernelmap[100];
                    203: int swbufcnt = 50;
                    204: struct buf swapbuf[50];
                    205: struct swapinfo swapinfo[50];
                    206: int bufhcnt = 63;
                    207: struct bufhd bufhash[63];
                    208: int dstflag = 1;
                    209: int timezone = 300;
                    210: int maxtsize = 12256;
                    211: struct nxaddr ubaaddr[] = {
                    212:        {1, 0, 0x200},
                    213: };
                    214: int ubacnt = 1;
                    215: struct uba uba[1];
                    216: struct ubaddr udaddr[] = {
                    217:        {0772150, 0254, 0},
                    218: };
                    219: int udcnt = 1;
                    220: struct ud ud[1];
                    221: extern struct msportsw udport;
                    222: int nmsport = 1;
                    223: struct msportsw *msportsw[] = {
                    224:        &udport,        /* 0 */
                    225: };
                    226: struct msaddr raaddr[] = {
                    227:        {0, 0, 0},
                    228:        {0, 0, 1},
                    229:        {0, 0, 2},
                    230:        {0, 0, 3},
                    231: };
                    232: int racnt = 4;
                    233: struct radisk radisk[4];
                    234: struct buf rabuf[4];
                    235: struct ubaddr dzaddr[] = {
                    236:        {0760100, 0300, 0},
                    237:        {0760110, 0310, 0},
                    238: };
                    239: int dzcnt = 16;
                    240: struct dz dz[16];
                    241: struct ubaddr dnaddr[] = {
                    242:        {0775200, 0430, 0},
                    243: };
                    244: int dncnt = 1;
                    245: caddr_t dnreg[1];
                    246: struct ubaddr mgaddr[] = {
                    247:        {0767720, 0360, 0},
                    248: };
                    249: int mgcnt = 1;
                    250: struct mg mg[1];
                    251: struct ubaddr draddr[] = {
                    252:        {0767570, 00, 0},
                    253: };
                    254: int drcnt = 1;
                    255: caddr_t drreg[1];
                    256: struct ubaddr iladdr[] = {
                    257:        {0764000, 0340, 0},
                    258:        {0765000, 0350, 0},
                    259: };
                    260: int ilcnt = 2;
                    261: struct il il[2];
                    262: struct ubaddr kmcaddr[] = {
                    263:        {0760200, 0600, 0},
                    264: };
                    265: int kmccnt = 1;
                    266: struct kmc kmc[1];
                    267: int kdicnt = 1;
                    268: struct kdikmc kdikmc[1];
                    269: struct kmcdk k[1];
                    270: int kbcnt = 256;
                    271: struct kb kb[256];
                    272: char kbstate[256];
                    273: int cncnt = 0;
                    274: int ttycnt = 32;
                    275: struct ttyld ttyld[32];
                    276: int msgcnt = 64;
                    277: struct imesg mesg[64];
                    278: int rdkcnt = 0;
                    279: int dkpcnt = 256;
                    280: struct dkp dkp[256];
                    281: int xpcnt = 0;
                    282: int bufldcnt = 32;
                    283: struct bufld bufld[32];
                    284: int fscnt = 10;
                    285: struct mount fsmtab[10];
                    286: int ipcnt = 32;
                    287: struct ipif ipif[32];
                    288: struct ipif *ipifsort[32];
                    289: int udpcnt = 32;
                    290: struct udp udpconn[32];
                    291: int tcpcnt = 64;
                    292: struct tcpcb tcpcb[64];
                    293: int arpcnt = 128;
                    294: struct ip_arp ip_arps[128];
                    295: int blkcnt = 700;
                    296: struct block cblock[700];
                    297: int blkbcnt = 40;
                    298: struct buf *cblkbuf[40];
                    299: int streamcnt = 512;
                    300: struct stdata streams[512];
                    301: int queuecnt = 2048;
                    302: struct queue queue[2048];
                    303: int maxdsize = 32000;
                    304: int maxssize = 32000;
                    305: int rootfstyp = 0;
                    306: dev_t rootdev = makedev(7, 64);
                    307: dev_t swapdev = makedev(4, 0);
                    308: struct swdevt swdevt[] = {
                    309:        {makedev(7, 1), 20480L},
                    310:        {makedev(7, 9), 20480L},
                    311: };
                    312: int nswdevt = 2;
                    313: extern int uddump();
                    314: int (*dumprout)() = uddump;
                    315: int dumpunit = 1;
                    316: long dumplow = 10240;
                    317: 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.