Annotation of coherent/d/PS2_KERNEL/include/sys/mdata.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 3.0
                      3:  *     Copyright (c) 1982, 1990 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*
                      7:  * Magic machine numbers.
                      8:  * Intel 8086.
                      9:  */
                     10: 
                     11: #ifndef        MDATA_H
                     12: #define        MDATA_H MDATA_H
                     13: 
                     14: /* Bits per type */
                     15: #define        NBCHAR    8
                     16: #define        NBINT     16
                     17: #define        NBLONG    32
                     18: #define        NBFLOAT   32
                     19: #define        NBDOUBLE  64
                     20: #define NBSHORT          16
                     21: 
                     22: /* Bits per pointer */
                     23: #define        NBPCHAR   16
                     24: #define        NBPINT    16
                     25: #define NBPLONG          16
                     26: #define NBPFLOAT  16
                     27: #define NBPDOUBLE 16
                     28: #define NBPSHORT  16
                     29: #define NBPSTRUCT 16
                     30: #define NBPUNION  16
                     31: 
                     32: /* Alignments, types */
                     33: #define        ALCHAR    01
                     34: #define ALINT    02
                     35: #define ALLONG   02
                     36: #define ALFLOAT          02
                     37: #define ALDOUBLE  02
                     38: #define ALSHORT          02
                     39: #define ALSTRUCT  02
                     40: #define ALUNION   02
                     41: 
                     42: /* Alignments, pointers */
                     43: #define        ALPCHAR   02
                     44: #define        ALPINT    02
                     45: #define ALPLONG   02
                     46: #define ALPFLOAT  02
                     47: #define ALPDOUBLE 02
                     48: #define ALPSHORT  02
                     49: #define ALPSTRUCT 02
                     50: #define ALPUNION  02
                     51: 
                     52: /* Ranges */
                     53: #define        MAXCHAR 127
                     54: #define        MAXUCHAR 255
                     55: #define        MAXINT  32767
                     56: #define        MAXUINT (65535L)
                     57: #define        MAXLONG (2147483647L)
                     58: #define        MAXULONG (4294967295L)
                     59: #define        MININT  (-32768L)
                     60: #define MINLONG (-2147483648L)
                     61: 
                     62: /* Fixed point representation */
                     63: #define        TCINT   1
                     64: #define        OCINT   0
                     65: #define        SMINT   0
                     66: 
                     67: /* Base2 logarithms of bits per type */
                     68: #define        LOGCHAR 3
                     69: #define        LOGINT  4
                     70: #define        LOGLONG 5
                     71: 
                     72: #endif

unix.superglobalmegacorp.com

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