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

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