Annotation of coherent/b/kernel/i386/fvcon.c, revision 1.1.1.1

1.1       root        1: /* (lgl-
                      2:  *
                      3:  *     COHERENT Version 2.3.37
                      4:  *     Copyright (c) 1982, 1983, 1984.
                      5:  *     All rights reserved.
                      6:  -lgl) */
                      7: #include <coherent.h>
                      8: #include <con.h>
                      9: #include <mtype.h>
                     10: #include <stat.h>
                     11: 
                     12: extern CON     nlcon[];                /* Null device */
                     13: extern CON     ctcon[];                /* Console terminal */
                     14: extern CON     iscon[];
                     15: extern CON     lpcon[];
                     16: extern CON     flcon[];
                     17: extern CON     a0con[];
                     18: extern CON     a1con[];
                     19: extern CON     atcon[];
                     20: extern CON     rmcon[];
                     21: 
                     22: /*
                     23:  * Device table.
                     24:  */
                     25: DRV    drvl[NDRV] = {
                     26:        {nlcon},        {ctcon},        {iscon },       {lpcon },  /*  0- 3 */
                     27:        {flcon },       {a0con },       {a1con },       {NULL },  /*  4- 7 */
                     28:        {rmcon },       {NULL },        {NULL },        {atcon }, /*  8-11 */
                     29:        {NULL },        {NULL },        {NULL },        {NULL },  /* 12-15 */
                     30:        {NULL },        {NULL },        {NULL },        {NULL },  /* 16-19 */
                     31:        {NULL },        {NULL },        {NULL },        {NULL },  /* 20-23 */
                     32:        {NULL },        {NULL },        {NULL },        {NULL },  /* 24-27 */
                     33:        {NULL },        {NULL },        {NULL },        {NULL }   /* 28 - 31 */
                     34: };
                     35: 
                     36: /*
                     37:  * Time.
                     38:  */
                     39: struct _TIME_OF_DAY timer ={
                     40:        0,                              /* Initial time */
                     41:        0,                              /* Ticks */
                     42:        -1*60,                          /* Mittel Europa Zeit */
                     43:        1                               /* Daylight saving time */
                     44: };
                     45: 
                     46: /*
                     47:  * Devices and sizes.
                     48:  */
                     49: dev_t  rootdev = makedev(4, 14);       /* Root device */
                     50: dev_t  pipedev = makedev(4, 14);       /* Pipe device */
                     51: dev_t  swapdev = makedev(0, 0);        /* Swap device */
                     52: daddr_t        swapbot = 0;                    /* Swap base */
                     53: daddr_t        swaptop = 0;                    /* Swap end */
                     54: int    ronflag = 0;                    /* Not read only root device */
                     55: int    drvn    = NDRV;                 /* Maximum number of devices */
                     56: int    mactype = M_386;                /* Machine type */
                     57: 
                     58: /*
                     59:  * Flexible param's
                     60:  */
                     61: int    NCLIST  = 8;    /* 8 clists per installed tty, never run out */
                     62: int    ALLSIZE = 7*1024;       /* 7K has been reasonable */
                     63: int    NINODE  = 64;           /* More than enough so far */
                     64: 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.