Annotation of coherent/d/286_KERNEL/USRSRC/io/pccon.c, revision 1.1.1.1

1.1       root        1: /* $Header: /x/usr/src/sys/io/RCS/pccon.c,v 1.1 91/12/02 17:15:52 hal Exp $ */
                      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:  * Configuration table.
                     17:  * 80286/80386 Coherent.
                     18:  * Minimal system.
                     19:  *
                     20:  * $Log:       pccon.c,v $
                     21:  * Revision 1.1  91/12/02  17:15:52  hal
                     22:  * Shipped with COH 3.2.0.
                     23:  * 
                     24:  */
                     25: #include <sys/coherent.h>
                     26: #include <sys/con.h>
                     27: #include <mtype.h>
                     28: #include <sys/stat.h>
                     29: 
                     30: extern CON     nlcon[];                /* Null device */
                     31: extern CON     ctcon[];                /* Console terminal */
                     32: 
                     33: /*
                     34:  * Device table.
                     35:  */
                     36: DRV    drvl[NDRV] = {
                     37:        {nlcon},        {ctcon},        {NULL },        {NULL },  /*  0 -  3 */
                     38:        {NULL },        {NULL },        {NULL },        {NULL },  /*  4 -  7 */
                     39:        {NULL },        {NULL },        {NULL },        {NULL },  /*  8 - 11 */
                     40:        {NULL },        {NULL },        {NULL },        {NULL },  /* 12 - 15 */
                     41:        {NULL },        {NULL },        {NULL },        {NULL },  /* 16 - 19 */
                     42:        {NULL },        {NULL },        {NULL },        {NULL },  /* 20 - 23 */
                     43:        {NULL },        {NULL },        {NULL },        {NULL },  /* 24 - 27 */
                     44:        {NULL },        {NULL },        {NULL },        {NULL }   /* 28 - 31 */
                     45: };
                     46: 
                     47: /*
                     48:  * Time.
                     49:  */
                     50: TIME timer ={
                     51:        0,                              /* Initial time */
                     52:        0,                              /* Ticks */
                     53:        8*60,                           /* Pacific */
                     54:        1                               /* Daylight saving time */
                     55: };
                     56: 
                     57: /*
                     58:  * Devices and sizes.
                     59:  */
                     60: dev_t  rootdev = makedev(0, 0);        /* Root device */
                     61: dev_t  pipedev = makedev(0, 0);        /* Pipe device */
                     62: dev_t  swapdev = makedev(0, 0);        /* Swap device */
                     63: daddr_t        swapbot = 0;                    /* Swap base */
                     64: daddr_t        swaptop = 0;                    /* Swap end */
                     65: int    ronflag = 0;                    /* Not read only root device */
                     66: int    drvn    = NDRV;                 /* Maximum number of devices */
                     67: int    mactype = M_8086;               /* Machine type */
                     68: 
                     69: /*
                     70:  * Flexible param's
                     71:  */
                     72: int    NCLIST  = 8;            /* 8 clists per installed tty, never run out */
                     73: int    ALLSIZE = 7*1024;       /* 7K has been reasonable */
                     74: int    NINODE  = 64;           /* More than enough so far */
                     75: int    NBUF    = 16;           /* Stingy */

unix.superglobalmegacorp.com

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