Annotation of 3BSD/sys/h/systm.h, revision 1.1

1.1     ! root        1: /*     systm.h 2.2     1/14/80 */
        !             2: 
        !             3: /*
        !             4:  * Random set of variables
        !             5:  * used by more than one
        !             6:  * routine.
        !             7:  */
        !             8: char   canonb[CANBSIZ];        /* buffer for erase and kill (#@) */
        !             9: int    cpusid;                 /* cpu SID register */
        !            10: char   version[];              /* system version */
        !            11: int    lbolt;                  /* time of day in 60th not in time */
        !            12: time_t time;                   /* time in sec from 1970 */
        !            13: time_t bootime;                /* time at which booted */
        !            14: 
        !            15: /* int zeropage;               /* page frame number of page of zeros */
        !            16: int    hand;                   /* current index into coremap used by daemon */
        !            17: 
        !            18: /*
        !            19:  * Nblkdev is the number of entries
        !            20:  * (rows) in the block switch. It is
        !            21:  * set in binit/bio.c by making
        !            22:  * a pass over the switch.
        !            23:  * Used in bounds checking on major
        !            24:  * device numbers.
        !            25:  */
        !            26: int    nblkdev;
        !            27: 
        !            28: /*
        !            29:  * Number of character switch entries.
        !            30:  * Set by cinit/tty.c
        !            31:  */
        !            32: int    nchrdev;
        !            33: 
        !            34: int    mpid;                   /* generic for unique process id's */
        !            35: char   runin;                  /* scheduling flag */
        !            36: char   runout;                 /* scheduling flag */
        !            37: char   runrun;                 /* scheduling flag */
        !            38: char   kmapwnt;                /* kernel map want flag */
        !            39: char   curpri;                 /* more scheduling */
        !            40: 
        !            41: int    maxmem;                 /* actual max memory per process */
        !            42: int    physmem;                /* physical memory on this CPU */
        !            43: 
        !            44: daddr_t        swplo;                  /* block number of swap space */
        !            45: int    nswap;                  /* size of swap space */
        !            46: int    updlock;                /* lock for sync */
        !            47: daddr_t        rablock;                /* block to be read ahead */
        !            48: char   msgbuf[MSGBUFS];        /* saved "printf" characters */
        !            49: int    intstack[512];          /* stack for interrupts */
        !            50: dev_t  rootdev;                /* device of the root */
        !            51: dev_t  swapdev;                /* swapping device */
        !            52: dev_t  pipedev;                /* pipe device */
        !            53: 
        !            54: extern int icode[];            /* user init code */
        !            55: extern int szicode;            /* its size */
        !            56: 
        !            57: extern int printsw;            /* debug print switch */
        !            58: extern int coresw;             /* switch to force action on core dumps */
        !            59: 
        !            60: dev_t  getmdev();
        !            61: daddr_t        bmap();
        !            62: unsigned max();
        !            63: unsigned min();
        !            64: int    memall();
        !            65: int    uchar();
        !            66: int    vmemall();
        !            67: swblk_t        vtod();
        !            68: /*
        !            69:  * Instrumentation
        !            70:  */
        !            71: int    dk_busy;
        !            72: long   dk_time[32];
        !            73: long   dk_numb[3];
        !            74: long   dk_wds[3];
        !            75: long   tk_nin;
        !            76: long   tk_nout;
        !            77: 
        !            78: /*
        !            79:  * Structure of the system-entry table
        !            80:  */
        !            81: extern struct sysent
        !            82: {
        !            83:        char    sy_narg;                /* total number of arguments */
        !            84:        char    sy_nrarg;               /* number of args in registers */
        !            85:        int     (*sy_call)();           /* handler */
        !            86: } sysent[];
        !            87: 
        !            88: char   vmmap[];                /* poor name! */
        !            89: int    mcr[3];                 /* memory controller registers */
        !            90: int    umbabeg,umbaend;        /* where sensitive vm begins/ends */

unix.superglobalmegacorp.com

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