Annotation of 41BSD/4.0.upgrade/sys/h/systm.h, revision 1.1

1.1     ! root        1: /*     systm.h 4.17    81/05/05        */
        !             2: 
        !             3: /*
        !             4:  * Random set of variables
        !             5:  * used by more than one
        !             6:  * routine.
        !             7:  */
        !             8: int    hz;                     /* frequency of the clock */
        !             9: int    timezone;               /* minutes west from greenwich */
        !            10: int    dstflag;                /* daylight savings time in effect? */
        !            11: char   canonb[CANBSIZ];        /* buffer for erase and kill (#@) */
        !            12: char   version[];              /* system version */
        !            13: int    lbolt;                  /* time of day in 60th not in time */
        !            14: time_t time;                   /* time in sec from 1970 */
        !            15: time_t bootime;                /* time at which booted */
        !            16: 
        !            17: int    hand;                   /* current index into coremap used by daemon */
        !            18: 
        !            19: /*
        !            20:  * Nblkdev is the number of entries
        !            21:  * (rows) in the block switch. It is
        !            22:  * set in binit/bio.c by making
        !            23:  * a pass over the switch.
        !            24:  * Used in bounds checking on major
        !            25:  * device numbers.
        !            26:  */
        !            27: int    nblkdev;
        !            28: 
        !            29: /*
        !            30:  * Number of character switch entries.
        !            31:  * Set by cinit/prim.c
        !            32:  */
        !            33: int    nchrdev;
        !            34: 
        !            35: int    nswdev;                 /* number of swap devices */
        !            36: int    mpid;                   /* generic for unique process id's */
        !            37: char   runin;                  /* scheduling flag */
        !            38: char   runout;                 /* scheduling flag */
        !            39: int    runrun;                 /* scheduling flag */
        !            40: char   kmapwnt;                /* kernel map want flag */
        !            41: char   curpri;                 /* more scheduling */
        !            42: 
        !            43: int    maxmem;                 /* actual max memory per process */
        !            44: int    physmem;                /* physical memory on this CPU */
        !            45: 
        !            46: int    nswap;                  /* size of swap space */
        !            47: int    updlock;                /* lock for sync */
        !            48: daddr_t        rablock;                /* block to be read ahead */
        !            49: extern int intstack[];         /* stack for interrupts */
        !            50: dev_t  rootdev;                /* device of the root */
        !            51: dev_t  dumpdev;                /* device to take dumps on */
        !            52: long   dumplo;                 /* offset into dumpdev */
        !            53: dev_t  swapdev;                /* swapping device */
        !            54: dev_t  argdev;                 /* device for argument lists */
        !            55: dev_t  pipedev;                /* pipe device */
        !            56: 
        !            57: extern int icode[];            /* user init code */
        !            58: extern int szicode;            /* its size */
        !            59: 
        !            60: dev_t  getmdev();
        !            61: daddr_t        bmap();
        !            62: caddr_t        calloc();
        !            63: unsigned max();
        !            64: unsigned min();
        !            65: int    memall();
        !            66: int    uchar(), schar();
        !            67: int    vmemall();
        !            68: char   *wmemall();
        !            69: swblk_t        vtod();
        !            70: 
        !            71: /*
        !            72:  * Structure of the system-entry table
        !            73:  */
        !            74: extern struct sysent
        !            75: {
        !            76:        int     sy_narg;                /* total number of arguments */
        !            77:        int     (*sy_call)();           /* handler */
        !            78: } sysent[];
        !            79: 
        !            80: char   vmmap[];                /* poor name! */
        !            81: int    umbabeg,umbaend;        /* where sensitive vm begins/ends */
        !            82: int    noproc;                 /* no one is running just now */
        !            83: extern int catcher[256];
        !            84: char   *panicstr;
        !            85: int    wantin;
        !            86: int    boothowto;              /* reboot flags, from console subsystem */

unix.superglobalmegacorp.com

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