Annotation of researchv10dc/lsys/phone/fry.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/dk.h"
        !            29: #include "sys/mscp.h"
        !            30: #include "sys/udaioc.h"
        !            31: #include "sys/ra.h"
        !            32: #include "sys/ta.h"
        !            33: #include "sys/bvp.h"
        !            34: #include "sys/debna.h"
        !            35: #include "sys/ttyio.h"
        !            36: #include "sys/ttyld.h"
        !            37: #include "sys/mesg.h"
        !            38: #include "sys/dkp.h"
        !            39: #include "sys/mount.h"
        !            40: extern struct bdevsw swbdev;
        !            41: extern struct bdevsw rabdev;
        !            42: extern struct bdevsw tabdev;
        !            43: int nblkdev = 11;
        !            44: extern struct cdevsw cncdev;
        !            45: extern struct cdevsw mmcdev;
        !            46: extern struct cdevsw swcdev;
        !            47: extern struct cdevsw bnacdev;
        !            48: extern struct cdevsw dkcdev;
        !            49: extern struct cdevsw racdev;
        !            50: extern struct cdevsw fdcdev;
        !            51: extern struct cdevsw ipcdev;
        !            52: extern struct cdevsw tcpcdev;
        !            53: extern struct cdevsw udpcdev;
        !            54: extern struct cdevsw tacdev;
        !            55: int nchrdev = 60;
        !            56: extern struct fstypsw fsfs;
        !            57: extern struct fstypsw nafs;
        !            58: extern struct fstypsw prfs;
        !            59: extern struct fstypsw msfs;
        !            60: extern struct fstypsw nbfs;
        !            61: extern struct fstypsw erfs;
        !            62: extern struct fstypsw pipfs;
        !            63: int nfstyp = 7;
        !            64: extern struct streamtab ttystream;
        !            65: extern struct streamtab cdkpstream;
        !            66: extern struct streamtab rdkstream;
        !            67: extern struct streamtab msgstream;
        !            68: extern struct streamtab dkpstream;
        !            69: extern struct streamtab rmsgstream;
        !            70: extern struct streamtab ipstream;
        !            71: extern struct streamtab tcpstream;
        !            72: extern struct streamtab udpstream;
        !            73: extern struct streamtab connstream;
        !            74: int nstreamtab = 19;
        !            75: 
        !            76: struct bdevsw *bdevsw[] = {
        !            77:        NULL,
        !            78:        NULL,
        !            79:        NULL,
        !            80:        NULL,
        !            81:        &swbdev,        /* 4 */
        !            82:        NULL,
        !            83:        NULL,
        !            84:        &rabdev,        /* 7 */
        !            85:        NULL,
        !            86:        NULL,
        !            87:        &tabdev,        /* 10 */
        !            88: };
        !            89: struct cdevsw *cdevsw[] = {
        !            90:        &cncdev,        /* 0 */
        !            91:        NULL,
        !            92:        NULL,
        !            93:        &mmcdev,        /* 3 */
        !            94:        NULL,
        !            95:        NULL,
        !            96:        NULL,
        !            97:        &swcdev,        /* 7 */
        !            98:        NULL,
        !            99:        NULL,
        !           100:        NULL,
        !           101:        NULL,
        !           102:        NULL,
        !           103:        NULL,
        !           104:        &bnacdev,       /* 14 */
        !           105:        NULL,
        !           106:        NULL,
        !           107:        &dkcdev,        /* 17 */
        !           108:        NULL,
        !           109:        NULL,
        !           110:        NULL,
        !           111:        NULL,
        !           112:        NULL,
        !           113:        NULL,
        !           114:        NULL,
        !           115:        NULL,
        !           116:        NULL,
        !           117:        NULL,
        !           118:        &racdev,        /* 28 */
        !           119:        NULL,
        !           120:        NULL,
        !           121:        NULL,
        !           122:        NULL,
        !           123:        NULL,
        !           124:        NULL,
        !           125:        NULL,
        !           126:        NULL,
        !           127:        NULL,
        !           128:        NULL,
        !           129:        NULL,
        !           130:        &fdcdev,        /* 40 */
        !           131:        NULL,
        !           132:        &ipcdev,        /* 42 */
        !           133:        &tcpcdev,       /* 43 */
        !           134:        NULL,
        !           135:        NULL,
        !           136:        NULL,
        !           137:        NULL,
        !           138:        NULL,
        !           139:        NULL,
        !           140:        &udpcdev,       /* 50 */
        !           141:        NULL,
        !           142:        NULL,
        !           143:        NULL,
        !           144:        NULL,
        !           145:        NULL,
        !           146:        NULL,
        !           147:        NULL,
        !           148:        NULL,
        !           149:        &tacdev,        /* 59 */
        !           150: };
        !           151: struct fstypsw *fstypsw[] = {
        !           152:        &fsfs,  /* 0 */
        !           153:        &nafs,  /* 1 */
        !           154:        &prfs,  /* 2 */
        !           155:        &msfs,  /* 3 */
        !           156:        &nbfs,  /* 4 */
        !           157:        &erfs,  /* 5 */
        !           158:        &pipfs, /* 6 */
        !           159: };
        !           160: struct streamtab *streamtab[] = {
        !           161:        &ttystream,     /* 0 */
        !           162:        &cdkpstream,    /* 1 */
        !           163:        &rdkstream,     /* 2 */
        !           164:        NULL,
        !           165:        &msgstream,     /* 4 */
        !           166:        &dkpstream,     /* 5 */
        !           167:        NULL,
        !           168:        NULL,
        !           169:        NULL,
        !           170:        &rmsgstream,    /* 9 */
        !           171:        &ipstream,      /* 10 */
        !           172:        &tcpstream,     /* 11 */
        !           173:        NULL,
        !           174:        NULL,
        !           175:        &udpstream,     /* 14 */
        !           176:        NULL,
        !           177:        NULL,
        !           178:        NULL,
        !           179:        &connstream,    /* 18 */
        !           180: };
        !           181: int proccnt = 600;
        !           182: struct proc proc[600];
        !           183: int inodecnt = 1700;
        !           184: struct inode inode[1700];
        !           185: int calloutcnt = 50;
        !           186: struct callout callout[50];
        !           187: int textcnt = 120;
        !           188: struct text text[120];
        !           189: int argcnt = 16;
        !           190: struct map argmap[16];
        !           191: int swmapcnt = 600;
        !           192: struct map swapmap[600];
        !           193: int kernelcnt = 500;
        !           194: struct map kernelmap[500];
        !           195: int swbufcnt = 50;
        !           196: struct buf swapbuf[50];
        !           197: struct swapinfo swapinfo[50];
        !           198: int bufhcnt = 599;
        !           199: struct bufhd bufhash[599];
        !           200: int streamcnt = 800;
        !           201: struct stdata streams[800];
        !           202: int blkcnt = 1600;
        !           203: struct block cblock[1600];
        !           204: int blkbcnt = 20;
        !           205: struct buf *cblkbuf[20];
        !           206: int dstflag = 1;
        !           207: int timezone = 300;
        !           208: int maxtsize = 12256;
        !           209: 
        !           210: struct nextab nextab[] = {
        !           211:        0, 0,
        !           212:        0, 4,
        !           213:        0, 1,
        !           214:        0, 3,
        !           215:        0, 2,
        !           216:        0, 13,
        !           217:        -1
        !           218: };
        !           219: struct biaddr ubaaddr[] = {
        !           220:        {0, 0x20, 0x200, 0},
        !           221:        {1, 0x30, 0x800, 0},
        !           222: };
        !           223: int ubacnt = 2;
        !           224: struct uba uba[2];
        !           225: struct biaddr bdaddr[] = {
        !           226:        {2, 0x10, 0x0, 0},
        !           227:        {3, 0x18, 0x0, 0},
        !           228: };
        !           229: int bdcnt = 2;
        !           230: struct bd bd[2];
        !           231: struct biaddr biaaddr[] = {
        !           232:        {4, 0x0, 0x400, 0},
        !           233: };
        !           234: int biacnt = 1;
        !           235: int bianode[1];
        !           236: struct biaddr bnaaddr[] = {
        !           237:        {5, 0x40, 0x0, 0},
        !           238: };
        !           239: int bnacnt = 1;
        !           240: struct bnactl bna[1];
        !           241: struct bnabuf bnabuf[1];
        !           242: struct ubaddr dkaddr[] = {
        !           243:        {0767770, 0400, 0},
        !           244: };
        !           245: int dkcnt = 256;
        !           246: struct dk dk[256];
        !           247: char dkstate[256];
        !           248: struct ubaddr udaddr[] = {
        !           249:        {0774500, 0300, 1},
        !           250:        {0772150, 0260, 0},
        !           251:        {0760404, 0270, 0},
        !           252: };
        !           253: int udcnt = 3;
        !           254: struct ud ud[3];
        !           255: extern struct msportsw udport;
        !           256: extern struct msportsw bdport;
        !           257: int nmsport = 2;
        !           258: struct msportsw *msportsw[] = {
        !           259:        &udport,        /* 0 */
        !           260:        &bdport,        /* 1 */
        !           261: };
        !           262: struct msaddr raaddr[] = {
        !           263:        {0, 1, 0},
        !           264:        {1, 1, 1},
        !           265:        {0, 1, 2},
        !           266:        {1, 1, 3},
        !           267:        {0, 1, 4},
        !           268:        {-1},
        !           269:        {1, 0, 0},
        !           270:        {1, 0, 2},
        !           271: };
        !           272: int racnt = 8;
        !           273: struct radisk radisk[8];
        !           274: struct buf rabuf[8];
        !           275: struct msaddr taaddr[] = {
        !           276:        {0, 0, 0},
        !           277:        {2, 0, 0},
        !           278:        {2, 0, 1},
        !           279: };
        !           280: int tacnt = 3;
        !           281: struct tatape tatape[3];
        !           282: struct buf tabuf[3];
        !           283: int cncnt = 0;
        !           284: int ipcnt = 32;
        !           285: struct ipif ipif[32];
        !           286: struct ipif *ipifsort[32];
        !           287: int udpcnt = 16;
        !           288: struct udp udpconn[16];
        !           289: int tcpcnt = 64;
        !           290: struct tcpcb tcpcb[64];
        !           291: int arpcnt = 128;
        !           292: struct ip_arp ip_arps[128];
        !           293: int ttycnt = 128;
        !           294: struct ttyld ttyld[128];
        !           295: int msgcnt = 256;
        !           296: struct imesg mesg[256];
        !           297: int rdkcnt = 0;
        !           298: int dkpcnt = 96;
        !           299: struct dkp dkp[96];
        !           300: int cdkpcnt = 0;
        !           301: int fscnt = 24;
        !           302: struct mount fsmtab[24];
        !           303: int filecnt = 1536;
        !           304: struct file file[1536];
        !           305: int queuecnt = 3072;
        !           306: struct queue queue[3072];
        !           307: int maxdsize = 819200;
        !           308: int maxssize = 819200;
        !           309: int rootfstyp = 0;
        !           310: dev_t rootdev = makedev(7, 64);
        !           311: dev_t swapdev = makedev(4, 0);
        !           312: struct swdevt swdevt[] = {
        !           313:        {makedev(7, 3), 249848L},
        !           314:        {makedev(7, 19), 249848L},
        !           315: };
        !           316: int nswdevt = 2;
        !           317: extern int bddump();
        !           318: int (*dumprout)() = bddump;
        !           319: int dumpunit = 256;
        !           320: long dumplow = 530416;
        !           321: 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.