Annotation of coherent/b/kernel/i386/atcon.c, revision 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 <sys/coherent.h>
        !             8: #include <sys/con.h>
        !             9: #include <sys/ino.h>
        !            10: #include <mtype.h>
        !            11: #include <sys/stat.h>
        !            12: 
        !            13: extern CON     atcon[];
        !            14: extern CON     ctcon[];                /* Console terminal */
        !            15: extern CON     fdccon[];
        !            16: extern CON     iscon[];
        !            17: extern CON     lpcon[];
        !            18: extern CON     msgcon[];
        !            19: extern CON     nlcon[];                /* Null device */
        !            20: extern CON     ptycon[];               /* pseudotty's */
        !            21: extern CON     rmcon[];
        !            22: extern CON     semcon[];
        !            23: extern CON     shmcon[];
        !            24: 
        !            25: /*
        !            26:  * Device table.
        !            27:  */
        !            28: DRV    drvl[NDRV] = {
        !            29:        {nlcon},        {ctcon},        {iscon },       {NULL },     /*  0- 3 */
        !            30:        {fdccon },      {NULL },        {NULL },        {NULL },     /*  4- 7 */
        !            31:        {rmcon },       {NULL },        {NULL },        {NULL },     /*  8-11 */
        !            32:        {NULL },        {NULL },        {NULL },        {NULL },     /* 12-15 */
        !            33:        {NULL },        {NULL },        {NULL },        {NULL },     /* 16-19 */
        !            34:        {NULL },        {NULL },        {NULL },        {NULL },     /* 20-23 */
        !            35:        {NULL },        {NULL },        {NULL },        {NULL },     /* 24-27 */
        !            36:        {NULL },        {NULL },        {NULL },        {NULL }      /* 28-31 */
        !            37: };
        !            38: 
        !            39: /*
        !            40:  * Time.
        !            41:  */
        !            42: struct _TIME_OF_DAY timer ={
        !            43:        0,                              /* Initial time */
        !            44:        0,                              /* Ticks */
        !            45:        -1*60,                          /* Mittel Europa Zeit */
        !            46:        1                               /* Daylight saving time */
        !            47: };
        !            48: 
        !            49: /*
        !            50:  * Devices and sizes.
        !            51:  */
        !            52: dev_t  rootdev = makedev(0, 0);        /* Root device */
        !            53: dev_t  pipedev = makedev(0, 0);        /* Pipe device */
        !            54: dev_t  swapdev = makedev(0, 0);        /* Swap device */
        !            55: daddr_t        swapbot = 0;                    /* Swap base */
        !            56: daddr_t        swaptop = 0;                    /* Swap end */
        !            57: int    ronflag = 0;                    /* Not read only root device */
        !            58: int    drvn    = NDRV;                 /* Maximum number of devices */
        !            59: int    mactype = M_386;                /* Machine type */
        !            60: 
        !            61: /*
        !            62:  * Flexible param's
        !            63:  */
        !            64: int    NCLIST  = 64;
        !            65: int    ALLSIZE = 0;    /* main.c autosizes. Patching overrides autosize */
        !            66: int    NINODE  = 128;  /* More than enough so far */
        !            67: int    NBUF    = 0;    /* main.c autosizes. Patching overrides autosize */
        !            68: int    NHASH   = 1021;
        !            69: int    BPFMAX  = (ND + NBN + NBN*NBN + NBN*NBN*NBN);
        !            70:                        /* for ulimit - max # of blocks per file */

unix.superglobalmegacorp.com

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