Annotation of researchv10dc/sys/t/hunny.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/nexus.h"
        !            17: #include "sys/ubaddr.h"
        !            18: #include "sys/uba.h"
        !            19: #include "sys/biaddr.h"
        !            20: #include "sys/uda.h"
        !            21: #include "sys/bda.h"
        !            22: #include "sys/inet/in.h"
        !            23: #include "sys/inet/ip_var.h"
        !            24: #include "sys/inet/udp.h"
        !            25: #include "sys/inet/tcp.h"
        !            26: #include "sys/inet/tcp_timer.h"
        !            27: #include "sys/inet/tcp_var.h"
        !            28: #include "sys/dz.h"
        !            29: #include "sys/om.h"
        !            30: #include "sys/kmc.h"
        !            31: #include "sys/kdi.h"
        !            32: #include "sys/mscp.h"
        !            33: #include "sys/udaioc.h"
        !            34: #include "sys/ra.h"
        !            35: #include "sys/ta.h"
        !            36: #include "sys/ttyio.h"
        !            37: #include "sys/ttyld.h"
        !            38: #include "sys/bufld.h"
        !            39: #include "sys/mesg.h"
        !            40: #include "sys/mount.h"
        !            41: extern struct bdevsw swbdev;
        !            42: extern struct bdevsw rabdev;
        !            43: extern struct bdevsw tabdev;
        !            44: int nblkdev = 11;
        !            45: extern struct cdevsw cncdev;
        !            46: extern struct cdevsw dzcdev;
        !            47: extern struct cdevsw mmcdev;
        !            48: extern struct cdevsw swcdev;
        !            49: extern struct cdevsw kmccdev;
        !            50: extern struct cdevsw racdev;
        !            51: extern struct cdevsw kdicdev;
        !            52: extern struct cdevsw omcdev;
        !            53: extern struct cdevsw fdcdev;
        !            54: extern struct cdevsw ipcdev;
        !            55: extern struct cdevsw tcpcdev;
        !            56: extern struct cdevsw udpcdev;
        !            57: extern struct cdevsw tacdev;
        !            58: int nchrdev = 60;
        !            59: extern struct fstypsw fsfs;
        !            60: extern struct fstypsw nafs;
        !            61: extern struct fstypsw prfs;
        !            62: extern struct fstypsw msfs;
        !            63: extern struct fstypsw nbfs;
        !            64: extern struct fstypsw erfs;
        !            65: extern struct fstypsw pipfs;
        !            66: int nfstyp = 7;
        !            67: extern struct streamtab ttystream;
        !            68: extern struct streamtab msgstream;
        !            69: extern struct streamtab bufldstream;
        !            70: extern struct streamtab rmsgstream;
        !            71: extern struct streamtab ipstream;
        !            72: extern struct streamtab tcpstream;
        !            73: extern struct streamtab udpstream;
        !            74: extern struct streamtab connstream;
        !            75: extern struct streamtab xpstream;
        !            76: int nstreamtab = 20;
        !            77: 
        !            78: struct bdevsw *bdevsw[] = {
        !            79:        NULL,
        !            80:        NULL,
        !            81:        NULL,
        !            82:        NULL,
        !            83:        &swbdev,        /* 4 */
        !            84:        NULL,
        !            85:        NULL,
        !            86:        &rabdev,        /* 7 */
        !            87:        NULL,
        !            88:        NULL,
        !            89:        &tabdev,        /* 10 */
        !            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:        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:        NULL,
        !           117:        NULL,
        !           118:        &kmccdev,       /* 26 */
        !           119:        NULL,
        !           120:        &racdev,        /* 28 */
        !           121:        NULL,
        !           122:        NULL,
        !           123:        &kdicdev,       /* 31 */
        !           124:        NULL,
        !           125:        NULL,
        !           126:        NULL,
        !           127:        NULL,
        !           128:        NULL,
        !           129:        NULL,
        !           130:        NULL,
        !           131:        &omcdev,        /* 39 */
        !           132:        &fdcdev,        /* 40 */
        !           133:        NULL,
        !           134:        &ipcdev,        /* 42 */
        !           135:        &tcpcdev,       /* 43 */
        !           136:        NULL,
        !           137:        NULL,
        !           138:        NULL,
        !           139:        NULL,
        !           140:        NULL,
        !           141:        NULL,
        !           142:        &udpcdev,       /* 50 */
        !           143:        NULL,
        !           144:        NULL,
        !           145:        NULL,
        !           146:        NULL,
        !           147:        NULL,
        !           148:        NULL,
        !           149:        NULL,
        !           150:        NULL,
        !           151:        &tacdev,        /* 59 */
        !           152: };
        !           153: struct fstypsw *fstypsw[] = {
        !           154:        &fsfs,  /* 0 */
        !           155:        &nafs,  /* 1 */
        !           156:        &prfs,  /* 2 */
        !           157:        &msfs,  /* 3 */
        !           158:        &nbfs,  /* 4 */
        !           159:        &erfs,  /* 5 */
        !           160:        &pipfs, /* 6 */
        !           161: };
        !           162: struct streamtab *streamtab[] = {
        !           163:        &ttystream,     /* 0 */
        !           164:        NULL,
        !           165:        NULL,
        !           166:        NULL,
        !           167:        &msgstream,     /* 4 */
        !           168:        NULL,
        !           169:        NULL,
        !           170:        &bufldstream,   /* 7 */
        !           171:        NULL,
        !           172:        &rmsgstream,    /* 9 */
        !           173:        &ipstream,      /* 10 */
        !           174:        &tcpstream,     /* 11 */
        !           175:        NULL,
        !           176:        NULL,
        !           177:        &udpstream,     /* 14 */
        !           178:        NULL,
        !           179:        NULL,
        !           180:        NULL,
        !           181:        &connstream,    /* 18 */
        !           182:        &xpstream,      /* 19 */
        !           183: };
        !           184: int proccnt = 600;
        !           185: struct proc proc[600];
        !           186: int filecnt = 1500;
        !           187: struct file file[1500];
        !           188: int inodecnt = 1700;
        !           189: struct inode inode[1700];
        !           190: int calloutcnt = 50;
        !           191: struct callout callout[50];
        !           192: int textcnt = 120;
        !           193: struct text text[120];
        !           194: int argcnt = 16;
        !           195: struct map argmap[16];
        !           196: int swmapcnt = 600;
        !           197: struct map swapmap[600];
        !           198: int kernelcnt = 500;
        !           199: struct map kernelmap[500];
        !           200: int swbufcnt = 50;
        !           201: struct buf swapbuf[50];
        !           202: struct swapinfo swapinfo[50];
        !           203: int bufhcnt = 599;
        !           204: struct bufhd bufhash[599];
        !           205: int queuecnt = 3000;
        !           206: struct queue queue[3000];
        !           207: int streamcnt = 800;
        !           208: struct stdata streams[800];
        !           209: int blkcnt = 1600;
        !           210: struct block cblock[1600];
        !           211: int blkbcnt = 20;
        !           212: struct buf *cblkbuf[20];
        !           213: int dstflag = 1;
        !           214: int timezone = 300;
        !           215: int maxtsize = 12256;
        !           216: int maxdsize = 204800;
        !           217: int maxssize = 204800;
        !           218: 
        !           219: struct nextab nextab[] = {
        !           220:        2, 2,
        !           221:        3, 2,
        !           222:        2, 4,
        !           223:        3, 0,
        !           224:        2, 3,
        !           225:        3, 4,
        !           226:        -1
        !           227: };
        !           228: struct biaddr biaaddr[] = {
        !           229:        {-1},
        !           230:        {-1},
        !           231:        {0, 0x0, 0x400, 2},
        !           232:        {1, 0x0, 0x600, 3},
        !           233: };
        !           234: int biacnt = 4;
        !           235: int bianode[4];
        !           236: struct biaddr ubaaddr[] = {
        !           237:        {2, 0x30, 0xa00, 2},
        !           238:        {3, 0x20, 0x200, 3},
        !           239: };
        !           240: int ubacnt = 2;
        !           241: struct uba uba[2];
        !           242: struct ubaddr udaddr[] = {
        !           243:        {0774500, 0310, 0},
        !           244:        {0772154, 0420, 1},
        !           245: };
        !           246: int udcnt = 2;
        !           247: struct ud ud[2];
        !           248: extern struct msportsw udport;
        !           249: extern struct msportsw bdport;
        !           250: int nmsport = 2;
        !           251: struct msportsw *msportsw[] = {
        !           252:        &udport,        /* 0 */
        !           253:        &bdport,        /* 1 */
        !           254: };
        !           255: struct msaddr taaddr[] = {
        !           256:        {0, 0, 0},
        !           257: };
        !           258: int tacnt = 1;
        !           259: struct tatape tatape[1];
        !           260: struct buf tabuf[1];
        !           261: struct biaddr bdaddr[] = {
        !           262:        {4, 0x10, 0x0, 2},
        !           263:        {5, 0x10, 0x0, 3},
        !           264: };
        !           265: int bdcnt = 2;
        !           266: struct bd bd[2];
        !           267: struct msaddr raaddr[] = {
        !           268:        {1, 1, 0},
        !           269:        {1, 1, 1},
        !           270:        {1, 1, 2},
        !           271:        {1, 1, 3},
        !           272:        {1, 0, 4},
        !           273:        {0, 1, 0},
        !           274:        {0, 1, 1},
        !           275:        {0, 1, 2},
        !           276: };
        !           277: int racnt = 8;
        !           278: struct radisk radisk[8];
        !           279: struct buf rabuf[8];
        !           280: struct ubaddr kmcaddr[] = {
        !           281:        {0760130, 0320, 1},
        !           282: };
        !           283: int kmccnt = 1;
        !           284: struct kmc kmc[1];
        !           285: struct ubaddr omaddr[] = {
        !           286:        {0760300, 0330, 1},
        !           287: };
        !           288: int omcnt = 1;
        !           289: struct om om[1];
        !           290: struct ubaddr dzaddr[] = {
        !           291:        {0760100, 0300, 1},
        !           292:        {0760110, 0310, 1},
        !           293: };
        !           294: int dzcnt = 16;
        !           295: struct dz dz[16];
        !           296: int kdicnt = 1;
        !           297: struct kdikmc kdikmc[1];
        !           298: struct kmcdk k[1];
        !           299: int cncnt = 0;
        !           300: int ipcnt = 32;
        !           301: struct ipif ipif[32];
        !           302: struct ipif *ipifsort[32];
        !           303: int udpcnt = 16;
        !           304: struct udp udpconn[16];
        !           305: int tcpcnt = 32;
        !           306: struct tcpcb tcpcb[32];
        !           307: int arpcnt = 128;
        !           308: struct ip_arp ip_arps[128];
        !           309: int ttycnt = 128;
        !           310: struct ttyld ttyld[128];
        !           311: int msgcnt = 300;
        !           312: struct imesg mesg[300];
        !           313: int xpcnt = 0;
        !           314: int bufldcnt = 32;
        !           315: struct bufld bufld[32];
        !           316: int fscnt = 30;
        !           317: struct mount fsmtab[30];
        !           318: int rootfstyp = 0;
        !           319: dev_t rootdev = makedev(7, 64);
        !           320: dev_t swapdev = makedev(4, 0);
        !           321: struct swdevt swdevt[] = {
        !           322:        {makedev(7, 3), 249848L},
        !           323:        {makedev(7, 11), 249848L},
        !           324:        {makedev(7, 19), 249848L},
        !           325: };
        !           326: int nswdevt = 3;
        !           327: extern int bddump();
        !           328: int (*dumprout)() = bddump;
        !           329: int dumpunit = 13315;
        !           330: long dumplow = 280568;
        !           331: long dumpsize = 249848;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.