Annotation of researchv9/sys.vax/h/systm.h, revision 1.1.1.1

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