Annotation of researchv10dc/sys/astro/westphal.c.c, revision 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/dz.h"
        !            22: #include "sys/kmc.h"
        !            23: #include "sys/kdi.h"
        !            24: #include "sys/mscp.h"
        !            25: #include "sys/udaioc.h"
        !            26: #include "sys/ra.h"
        !            27: #include "sys/ttyio.h"
        !            28: #include "sys/ttyld.h"
        !            29: #include "sys/mesg.h"
        !            30: #include "sys/mount.h"
        !            31: extern struct bdevsw swbdev;
        !            32: extern struct bdevsw rabdev;
        !            33: int nblkdev = 8;
        !            34: extern struct cdevsw cncdev;
        !            35: extern struct cdevsw dzcdev;
        !            36: extern struct cdevsw mmcdev;
        !            37: extern struct cdevsw swcdev;
        !            38: extern struct cdevsw kmccdev;
        !            39: extern struct cdevsw racdev;
        !            40: extern struct cdevsw kdicdev;
        !            41: extern struct cdevsw fdcdev;
        !            42: int nchrdev = 41;
        !            43: extern struct fstypsw fsfs;
        !            44: extern struct fstypsw prfs;
        !            45: extern struct fstypsw msfs;
        !            46: extern struct fstypsw nbfs;
        !            47: extern struct fstypsw erfs;
        !            48: extern struct fstypsw pipfs;
        !            49: int nfstyp = 7;
        !            50: extern struct streamtab ttystream;
        !            51: extern struct streamtab rdkstream;
        !            52: extern struct streamtab msgstream;
        !            53: extern struct streamtab rmsgstream;
        !            54: extern struct streamtab connstream;
        !            55: extern struct streamtab xpstream;
        !            56: int nstreamtab = 20;
        !            57: 
        !            58: struct bdevsw *bdevsw[] = {
        !            59:        NULL,
        !            60:        NULL,
        !            61:        NULL,
        !            62:        NULL,
        !            63:        &swbdev,        /* 4 */
        !            64:        NULL,
        !            65:        NULL,
        !            66:        &rabdev,        /* 7 */
        !            67: };
        !            68: struct cdevsw *cdevsw[] = {
        !            69:        &cncdev,        /* 0 */
        !            70:        &dzcdev,        /* 1 */
        !            71:        NULL,
        !            72:        &mmcdev,        /* 3 */
        !            73:        NULL,
        !            74:        NULL,
        !            75:        NULL,
        !            76:        &swcdev,        /* 7 */
        !            77:        NULL,
        !            78:        NULL,
        !            79:        NULL,
        !            80:        NULL,
        !            81:        NULL,
        !            82:        NULL,
        !            83:        NULL,
        !            84:        NULL,
        !            85:        NULL,
        !            86:        NULL,
        !            87:        NULL,
        !            88:        NULL,
        !            89:        NULL,
        !            90:        NULL,
        !            91:        NULL,
        !            92:        NULL,
        !            93:        NULL,
        !            94:        NULL,
        !            95:        &kmccdev,       /* 26 */
        !            96:        NULL,
        !            97:        &racdev,        /* 28 */
        !            98:        NULL,
        !            99:        NULL,
        !           100:        &kdicdev,       /* 31 */
        !           101:        NULL,
        !           102:        NULL,
        !           103:        NULL,
        !           104:        NULL,
        !           105:        NULL,
        !           106:        NULL,
        !           107:        NULL,
        !           108:        NULL,
        !           109:        &fdcdev,        /* 40 */
        !           110: };
        !           111: struct fstypsw *fstypsw[] = {
        !           112:        &fsfs,  /* 0 */
        !           113:        NULL,
        !           114:        &prfs,  /* 2 */
        !           115:        &msfs,  /* 3 */
        !           116:        &nbfs,  /* 4 */
        !           117:        &erfs,  /* 5 */
        !           118:        &pipfs, /* 6 */
        !           119: };
        !           120: struct streamtab *streamtab[] = {
        !           121:        &ttystream,     /* 0 */
        !           122:        NULL,
        !           123:        &rdkstream,     /* 2 */
        !           124:        NULL,
        !           125:        &msgstream,     /* 4 */
        !           126:        NULL,
        !           127:        NULL,
        !           128:        NULL,
        !           129:        NULL,
        !           130:        &rmsgstream,    /* 9 */
        !           131:        NULL,
        !           132:        NULL,
        !           133:        NULL,
        !           134:        NULL,
        !           135:        NULL,
        !           136:        NULL,
        !           137:        NULL,
        !           138:        NULL,
        !           139:        &connstream,    /* 18 */
        !           140:        &xpstream,      /* 19 */
        !           141: };
        !           142: 
        !           143: struct nextab nextab[] = {
        !           144:        0, 0,
        !           145:        0, 8,
        !           146:        -1
        !           147: };
        !           148: struct nxaddr mcraddr[] = {
        !           149:        {0, 0, 0x0},
        !           150: };
        !           151: int mcrcnt = 1;
        !           152: caddr_t mcrregs[1];
        !           153: time_t mcrtime[1];
        !           154: int proccnt = 300;
        !           155: struct proc proc[300];
        !           156: int filecnt = 500;
        !           157: struct file file[500];
        !           158: int inodecnt = 700;
        !           159: struct inode inode[700];
        !           160: int calloutcnt = 50;
        !           161: struct callout callout[50];
        !           162: int textcnt = 60;
        !           163: struct text text[60];
        !           164: int argcnt = 16;
        !           165: struct map argmap[16];
        !           166: int swmapcnt = 200;
        !           167: struct map swapmap[200];
        !           168: int kernelcnt = 100;
        !           169: struct map kernelmap[100];
        !           170: int swbufcnt = 50;
        !           171: struct buf swapbuf[50];
        !           172: struct swapinfo swapinfo[50];
        !           173: int bufhcnt = 63;
        !           174: struct bufhd bufhash[63];
        !           175: int queuecnt = 1024;
        !           176: struct queue queue[1024];
        !           177: int streamcnt = 256;
        !           178: struct stdata streams[256];
        !           179: int blkcnt = 600;
        !           180: struct block cblock[600];
        !           181: int blkbcnt = 10;
        !           182: struct buf *cblkbuf[10];
        !           183: int dstflag = 1;
        !           184: int timezone = 300;
        !           185: int maxtsize = 12256;
        !           186: int maxdsize = 24544;
        !           187: int maxssize = 24544;
        !           188: struct nxaddr ubaaddr[] = {
        !           189:        {1, 0, 0x200},
        !           190: };
        !           191: int ubacnt = 1;
        !           192: struct uba uba[1];
        !           193: struct ubaddr udaddr[] = {
        !           194:        {0772150, 0154, 0},
        !           195: };
        !           196: int udcnt = 1;
        !           197: struct ud ud[1];
        !           198: extern struct msportsw udport;
        !           199: int nmsport = 1;
        !           200: struct msportsw *msportsw[] = {
        !           201:        &udport,        /* 0 */
        !           202: };
        !           203: struct msaddr raaddr[] = {
        !           204:        {0, 0, 0},
        !           205:        {0, 0, 1},
        !           206:        {0, 0, 2},
        !           207:        {0, 0, 3},
        !           208: };
        !           209: int racnt = 4;
        !           210: struct radisk radisk[4];
        !           211: struct buf rabuf[4];
        !           212: struct ubaddr dzaddr[] = {
        !           213:        {0760100, 0300, 0},
        !           214: };
        !           215: int dzcnt = 8;
        !           216: struct dz dz[8];
        !           217: struct ubaddr kmcaddr[] = {
        !           218:        {0760200, 0600, 0},
        !           219: };
        !           220: int kmccnt = 1;
        !           221: struct kmc kmc[1];
        !           222: int kdicnt = 1;
        !           223: struct kdikmc kdikmc[1];
        !           224: struct kmcdk k[1];
        !           225: int cncnt = 0;
        !           226: int ttycnt = 32;
        !           227: struct ttyld ttyld[32];
        !           228: int msgcnt = 256;
        !           229: struct imesg mesg[256];
        !           230: int rdkcnt = 0;
        !           231: int xpcnt = 0;
        !           232: int fscnt = 15;
        !           233: struct mount fsmtab[15];
        !           234: int rootfstyp = 0;
        !           235: dev_t rootdev = makedev(7, 64);
        !           236: dev_t swapdev = makedev(4, 0);
        !           237: struct swdevt swdevt[] = {
        !           238:        {makedev(7, 1), 20480L},
        !           239:        {makedev(7, 9), 20480L},
        !           240:        {makedev(7, 17), 20480L},
        !           241: };
        !           242: int nswdevt = 3;
        !           243: extern int uddump();
        !           244: int (*dumprout)() = uddump;
        !           245: int dumpunit = 2;
        !           246: long dumplow = 10240;
        !           247: 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.