Annotation of coherent/f/etc/conf/bin/src/mtune.h, revision 1.1

1.1     ! root        1: #ifndef        MTUNE_H
        !             2: #define        MTUNE_H
        !             3: 
        !             4: #include "devadm.h"
        !             5: 
        !             6: 
        !             7: /*
        !             8:  * Structure of an entry read in from the 'mtune' file.
        !             9:  */
        !            10: struct mtune {
        !            11:        mtune_t       * mt_next;        /* next entry on global list */
        !            12: 
        !            13:        symbol_t      * mt_name;        /* tunable parameter name */
        !            14:        long            mt_min;         /* minimum legal value */
        !            15:        long            mt_default;     /* default value */
        !            16:        long            mt_max;         /* maximum legal value */
        !            17: 
        !            18:        stune_t       * mt_stune;       /* if non-default value configured */
        !            19: };
        !            20: 
        !            21: 
        !            22: /*
        !            23:  * Structure for keeping a global list of all the entries read in.
        !            24:  */
        !            25: 
        !            26: struct mtlist {
        !            27:        mtune_t       * mtl_first;
        !            28:        mtune_t       * mtl_last;
        !            29: 
        !            30:        int             mtl_count;
        !            31: };
        !            32: 
        !            33: 
        !            34: enum {
        !            35:        MAX_PARAMNAME = 31
        !            36: };
        !            37: 
        !            38: 
        !            39: EXTERN_C_BEGIN
        !            40: 
        !            41: mtune_t              * find_mtune      PROTO ((symbol_t * _sym));
        !            42: mtune_t       *        mtunes          PROTO ((void));
        !            43: void           read_mtune_file PROTO ((CONST char * _inname,
        !            44:                                        CONST char * _outname,
        !            45:                                        VOID * _extra));
        !            46: void           read_mtune_string PROTO ((CONST char * _string,
        !            47:                                          VOID * _extra));
        !            48: void           write_mtune     PROTO ((mtune_t * _mtunep, input_t * _input));
        !            49: 
        !            50: EXTERN_C_END
        !            51: 
        !            52: #endif /* ! defined (MTUNE_H) */

unix.superglobalmegacorp.com

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