Annotation of coherent/d/PS2_KERNEL/coh.286/var.c, revision 1.1.1.1

1.1       root        1: /* $Header: /kernel/kersrc/coh.286/RCS/var.c,v 1.1 92/07/17 15:18:55 bin Exp Locker: bin $ */
                      2: /* (lgl-
                      3:  *     The information contained herein is a trade secret of Mark Williams
                      4:  *     Company, and  is confidential information.  It is provided  under a
                      5:  *     license agreement,  and may be  copied or disclosed  only under the
                      6:  *     terms of  that agreement.  Any  reproduction or disclosure  of this
                      7:  *     material without the express written authorization of Mark Williams
                      8:  *     Company or persuant to the license agreement is unlawful.
                      9:  *
                     10:  *     COHERENT Version 2.3.37
                     11:  *     Copyright (c) 1982, 1983, 1984.
                     12:  *     An unpublished work by Mark Williams Company, Chicago.
                     13:  *     All rights reserved.
                     14:  -lgl) */
                     15: /*
                     16:  * Coherent.
                     17:  * Variables.
                     18:  *
                     19:  * $Log:       var.c,v $
                     20:  * Revision 1.1  92/07/17  15:18:55  bin
                     21:  * Initial revision
                     22:  * 
                     23:  * Revision 1.2        89/08/01  13:57:35      src
                     24:  * Bug:        #include <timeout.h> not accurate; timeout.h now in /usr/include/sys.
                     25:  * Fix:        #include <sys/timeout.h> now used. (ABC)
                     26:  * 
                     27:  * Revision 1.1        88/03/24  08:14:41      src
                     28:  * Initial revision
                     29:  * 
                     30:  * 88/01/23    Allan Cornish           /usr/src/sys/coh/var.c
                     31:  * Default NSLOT increased from 10 to 64.
                     32:  *
                     33:  * 87/11/22    Allan Cornish           /usr/src/sys/coh/var.c
                     34:  * Holebot/holetop variables added to support extended memory.
                     35:  *
                     36:  * 87/11/14    Allan Cornish           /usr/src/sys/coh/var.c
                     37:  * Init code+data now split into icodep/icodes and idatap/idatas.
                     38:  *
                     39:  * 87/11/12    Allan Cornish           /usr/src/sys/coh/var.c
                     40:  * Corebot/coretop now paddr_t rather than saddr_t to support protected mode.
                     41:  *
                     42:  * 87/10/05    Allan Cornish           /usrs/rc/sys/coh/var.c
                     43:  * NSLOT, slotsz, and slotp variables added - loadable driver specific.
                     44:  *
                     45:  * 87/07/07    Allan Cornish           /usr/src/sys/coh/var.c
                     46:  * Lbolt variable added - clock ticks since startup - incremented by stand().
                     47:  * Timl variable replaced with timq variable.
                     48:  *
                     49:  * 87/02/01    Allan Cornish           /usr/src/sys/coh/var.c
                     50:  * ISTSIZE [stack size] changed from a define in /usr/include/sys/const.h to a
                     51:  * extern int in /usr/include/sys/param.h, with 4 Kbyte default set in var.c
                     52:  */
                     53: #include <sys/coherent.h>
                     54: #include <sys/buf.h>
                     55: #include <sys/con.h>
                     56: #include <sys/inode.h>
                     57: #include <sys/mount.h>
                     58: #include <sys/proc.h>
                     59: #include <sys/ptrace.h>
                     60: #include <sys/seg.h>
                     61: 
                     62: int     debflag = 0;                   /* coherent.h */
                     63: 
                     64: int     batflag;                       /* coherent.h */
                     65: int     outflag;                       /* coherent.h */
                     66: int     ttyflag;                       /* coherent.h */
                     67: unsigned utimer;                       /* coherent.h */
                     68: long    lbolt;                         /* coherent.h */
                     69: TIM    stimer;                         /* coherent.h */
                     70: unsigned msize;                                /* coherent.h */
                     71: unsigned asize;                                /* coherent.h */
                     72: char    *icodep;                       /* coherent.h */
                     73: int     icodes;                        /* coherent.h */
                     74: char    *idatap;                       /* coherent.h */
                     75: int     idatas;                        /* coherent.h */
                     76: paddr_t         corebot;                       /* coherent.h */
                     77: paddr_t         coretop;                       /* coherent.h */
                     78: paddr_t         holebot;                       /* coherent.h */
                     79: paddr_t         holetop;                       /* coherent.h */
                     80: paddr_t         blockp;                        /* coherent.h */
                     81: paddr_t         clistp;                        /* coherent.h */
                     82: struct  all *allkp;                    /* coherent.h */
                     83: int    NSLOT   = 64;                   /* coherent.h */
                     84: int    slotsz  = 64;                   /* coherent.h */
                     85: int *  slotp;                          /* coherent.h */
                     86: 
                     87: unsigned bufseqn;                      /* buf.h */
                     88: int     bufneed;                       /* buf.h */
                     89: BUF     swapbuf;                       /* buf.h */
                     90: BUF    *bufl;                          /* buf.h */
                     91: 
                     92: int    cltwant;                        /* clist.h */
                     93: cmap_t cltfree;                        /* clist.h */
                     94: 
                     95: INODE  *inodep;                        /* inode.h */
                     96: INODE  *acctip;                        /* inode.h */
                     97: 
                     98: MOUNT  *mountp;                        /* mount.h */
                     99: 
                    100: int    ISTSIZE = 4096;                 /* sys/param.h */
                    101: 
                    102: int    quantum;                        /* proc.h */
                    103: int    disflag;                        /* proc.h */
                    104: int    intflag;                        /* proc.h */
                    105: int    cpid;                           /* proc.h */
                    106: #ifdef QWAKEUP
                    107: int    ntowake;                        /* proc.h */
                    108: #endif
                    109: GATE   pnxgate;                        /* proc.h */
                    110: PROC   procq;                          /* proc.h */
                    111: PROC   *iprocp;                        /* proc.h */
                    112: PROC   *eprocp;                        /* proc.h */
                    113: PROC   *cprocp;                        /* proc.h */
                    114: PLINK  linkq[NHPLINK];                 /* proc.h */
                    115: 
                    116: struct ptrace pts;                     /* ptrace.h */
                    117: 
                    118: int    sexflag;                        /* seg.h */
                    119: GATE   seglink;                        /* seg.h */
                    120: #ifndef NOMONITOR
                    121: int    swmflag;                        /* seg.h */
                    122: #endif
                    123: SEG    segswap;                        /* seg.h */
                    124: SEG    segmq;                          /* seg.h */
                    125: SEG    segdq;                          /* seg.h */
                    126: SEG    segiom;                         /* seg.h */
                    127: 
                    128: TIM *  timq[256];                      /* timeout.h */

unix.superglobalmegacorp.com

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