Annotation of coherent/d/PS2_KERNEL/include/sys/param.h, revision 1.1

1.1     ! root        1: /* (-lgl
        !             2:  *     COHERENT Version 4.0
        !             3:  *     Copyright (c) 1982, 1992 by Mark Williams Company.
        !             4:  *     All rights reserved. May not be copied without permission.
        !             5:  -lgl) */
        !             6: #ifndef PARAM_H
        !             7: #define        PARAM_H
        !             8: 
        !             9: /* WARNING!  Fix references to dev_loaded if ever NDRV > 8*sizeof(int) */
        !            10: #define NDRV   32                      /* Number of major device entries */
        !            11: #define NOFILE 20                      /* Number of user open files */
        !            12: #define NUFILE NOFILE                  /* For historical reasons */
        !            13: #define        NEXREAD 6                       /* Read ahead */
        !            14: 
        !            15: #ifdef KERNEL                  /* These set in *con.c */
        !            16: extern int     NBUF;                   /* Now an adjustable parameter */
        !            17: extern int     NHASH;                  /* Now an adjustable parameter */
        !            18: extern int     NINODE;                 /* Now an adjustable parameter */
        !            19: extern int     NCLIST;                 /* Now an adjustable parameter */
        !            20: extern int     ALLSIZE;                /* Now an adjustable paramenter */
        !            21: extern int     ISTSIZE;                /* Initial stack size (bytes) */
        !            22: #endif
        !            23: 
        !            24: #ifdef _I386
        !            25: #define        BPCSHIFT        12
        !            26: #define        BPC1SHIFT       10
        !            27: #define        BPSSHIFT        22
        !            28: #define        NBPC            0x001000
        !            29: #define        NBPS            0x400000
        !            30: 
        !            31: #define        ISP_286         0x10000
        !            32: #define        ISP_386         stob(512)
        !            33: 
        !            34: #define        UPASIZE         4096    /* Size in bytes of user area */
        !            35: 
        !            36: #define        SYI86UNEEK      333
        !            37: 
        !            38: #define        MSACOUNT        6       /* Number of ints for system call args */
        !            39: #define        ISTVIRT         0               /* Stack virtual base for sys exec */
        !            40: #define        SOVSIZE         0               /* Stack overflow size */
        !            41: #define MADSIZE                32767           /* Maximum addressable segment size */
        !            42: #define SMICALL                0               /* Start of independent system calls */
        !            43: #define NMICALL                88              /* Machine independent system calls */
        !            44: #define COHCALL                500             /* Number of COH system call */
        !            45: #define SMDCALL                128             /* Start of dependent system calls */
        !            46: #define NMDCALL                0               /* Machine dependent system calls */
        !            47: #define        BSIZE           512             /* Buffer size */
        !            48: #define SCHUNK         16384           /* I/O chunk size for swap and dump */
        !            49: #define        NCPCL           124             /* Number of characters in clist */
        !            50: #define        NPID            30000           /* Maximum process id */
        !            51: #define        MAXU            ((unsigned)0177777)
        !            52: 
        !            53: #define COH_PRINTF     1
        !            54: #define COH_DEVLOAD    2
        !            55: #define COH_SETFPE     3
        !            56: 
        !            57: /*
        !            58:  * There must be an even number of HZ in a second.
        !            59:  */
        !            60: #define        HZ              100             /* 8253 ticks per second */
        !            61: #endif
        !            62: 
        !            63: #endif

unix.superglobalmegacorp.com

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