Annotation of coherent/f/usr/include/kernel/param.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * /usr/include/sys/param.h
        !             3:  *
        !             4:  * Parameters specific to this port of COHERENT.
        !             5:  *
        !             6:  * Revised: Thu Jul 15 14:20:24 1993 CDT
        !             7:  */
        !             8: #ifndef __KERNEL_PARAM_H__
        !             9: #define        __KERNEL_PARAM_H__
        !            10: 
        !            11: /* WARNING!  Fix references to dev_loaded if ever NDRV > 8*sizeof(int) */
        !            12: 
        !            13: #define NDRV   32                      /* Number of major device entries */
        !            14: #define NOFILE 60                      /* Number of user open files */
        !            15: 
        !            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: 
        !            23: #if    _I386
        !            24: 
        !            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 H28CALL                0x31            /* # system calls of form 0x??28 */
        !            45: #define COHCALL                500             /* Number of COH system call */
        !            46: #define SMDCALL                128             /* Start of dependent system calls */
        !            47: #define NMDCALL                0               /* Machine dependent system calls */
        !            48: #define        BSIZE           512             /* Buffer size */
        !            49: #define SCHUNK         16384           /* I/O chunk size for swap and dump */
        !            50: #define        NCPCL           124             /* Number of characters in clist */
        !            51: #define        NPID            30000           /* Maximum process id */
        !            52: #define        MAXU            ((unsigned)0177777)
        !            53: 
        !            54: /*
        !            55:  * Commands for system call cohcall()
        !            56:  */
        !            57: #define COH_PRINTF     1
        !            58: #define COH_DEVLOAD    2
        !            59: #define COH_SETBP      4
        !            60: #define COH_CLRBP      5
        !            61: #define COH_REBOOT     6
        !            62: #define COH_VIO                7
        !            63: #define COH_SHM                8
        !            64: #define COH_WTEXT      9
        !            65: #define COH_GETINT11   10      /* returns hardware word as recorded
        !            66:                                 * at boot time 
        !            67:                                 */
        !            68: 
        !            69: #define        HZ      100     /* Number of clock ticks per second.            */
        !            70: #define T0_RATE        11932   /* Number of timer 0 counts per clock tick.     */
        !            71: /* convert microseconds to timer 0 counts - roughly multiply by 1.1932 */
        !            72: #define USEC_TO_COUNTS(usec)   ((usec)+(((usec)*3)/16))
        !            73: 
        !            74: #endif /* _I386 */
        !            75: 
        !            76: #endif /* ! defined (__KERNEL_PARAM_H__) */

unix.superglobalmegacorp.com

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