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