Annotation of 43BSDReno/contrib/emacs-18.55/src/m-att3b.h, revision 1.1

1.1     ! root        1: /* Machine-dependent configuration for GNU Emacs for AT&T 3b machines.
        !             2:    Copyright (C) 1986 Free Software Foundation, Inc.
        !             3: 
        !             4:    Modified by David Robinson ([email protected]) 6/6/86
        !             5: 
        !             6: This file is part of GNU Emacs.
        !             7: 
        !             8: GNU Emacs is distributed in the hope that it will be useful,
        !             9: but WITHOUT ANY WARRANTY.  No author or distributor
        !            10: accepts responsibility to anyone for the consequences of using it
        !            11: or for whether it serves any particular purpose or works at all,
        !            12: unless he says so in writing.  Refer to the GNU Emacs General Public
        !            13: License for full details.
        !            14: 
        !            15: Everyone is granted permission to copy, modify and redistribute
        !            16: GNU Emacs, but only under the conditions described in the
        !            17: GNU Emacs General Public License.   A copy of this license is
        !            18: supposed to have been given to you along with GNU Emacs so you
        !            19: can know your rights and responsibilities.  It should be in a
        !            20: file named COPYING.  Among other things, the copyright notice
        !            21: and this notice must be preserved on all copies.  */
        !            22: 
        !            23: 
        !            24: /* The following three symbols give information on
        !            25:  the size of various data types.  */
        !            26: 
        !            27: #define SHORTBITS 16            /* Number of bits in a short */
        !            28: 
        !            29: #define INTBITS 32              /* Number of bits in an int */
        !            30: 
        !            31: #define LONGBITS 32             /* Number of bits in a long */
        !            32: 
        !            33: /* Define BIG_ENDIAN iff lowest-numbered byte in a word
        !            34:    is the most significant byte.  */
        !            35: 
        !            36: #define BIG_ENDIAN
        !            37: 
        !            38: /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
        !            39:  * group of arguments and treat it as an array of the arguments.  */
        !            40: 
        !            41: /* #define NO_ARG_ARRAY */
        !            42: 
        !            43: /* Define WORD_MACHINE if addresses and such have
        !            44:  * to be corrected before they can be used as byte counts.  */
        !            45: 
        !            46: /* #define WORD_MACHINE */
        !            47: 
        !            48: /* Define how to take a char and sign-extend into an int.
        !            49:    On machines where char is signed, this is a no-op.  */
        !            50: /* The 3b20 doesn't sign extend characters OR ints, so
        !            51:    right shifting an int loses the sign bit */
        !            52: #define SIGN_EXTEND_CHAR(c) (((sign_extend_temp=(c)) & 0x80) \
        !            53:                             ? (sign_extend_temp | 0xFFFFFF00) \
        !            54:                             : (sign_extend_temp))
        !            55: 
        !            56: /* Now define a symbol for the cpu type, if your compiler
        !            57:    does not define it automatically */
        !            58: #define ATT3B
        !            59: 
        !            60: /* Use type int rather than a union, to represent Lisp_Object */
        !            61: /* This is desirable for most machines.  */
        !            62: 
        !            63: #define NO_UNION_TYPE
        !            64: 
        !            65: /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
        !            66:    the 24-bit bit field into an int.  In other words, if bit fields
        !            67:    are always unsigned.
        !            68: 
        !            69:    If you use NO_UNION_TYPE, this flag does not matter.  */
        !            70: 
        !            71: #define EXPLICIT_SIGN_EXTEND
        !            72: 
        !            73: /* Data type of load average, as read out of kmem.  */
        !            74: /* #define LOAD_AVE_TYPE long */
        !            75: 
        !            76: /* Convert that into an integer that is 100 for a load average of 1.0  */
        !            77: 
        !            78: /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */
        !            79: 
        !            80: /* Define CANNOT_DUMP on machines where unexec does not work.
        !            81:    Then the function dump-emacs will not be defined
        !            82:    and temacs will do (load "loadup") automatically unless told otherwise.  */
        !            83: /* #define CANNOT_DUMP */
        !            84: 
        !            85: /* Define VIRT_ADDR_VARIES if the virtual addresses of
        !            86:    pure and impure space as loaded can vary, and even their
        !            87:    relative order cannot be relied on.
        !            88: 
        !            89:    Otherwise Emacs assumes that text space precedes data space,
        !            90:    numerically.  */
        !            91: 
        !            92: /* #define VIRT_ADDR_VARIES */  /* Karl Kleinpaste says this isn't needed.  */
        !            93: 
        !            94: /* Define C_ALLOCA if this machine does not support a true alloca
        !            95:    and the one written in C should be used instead.
        !            96:    Define HAVE_ALLOCA to say that the system provides a properly
        !            97:    working alloca function and it should be used.
        !            98:    Define neither one if an assembler-language alloca
        !            99:    in the file alloca.s should be used.  */
        !           100: 
        !           101: /* SysV has alloca in the PW library */
        !           102: 
        !           103: #define LIB_STANDARD -lPW -lc
        !           104: #define HAVE_ALLOCA
        !           105: 
        !           106: /* Define NO_REMAP if memory segmentation makes it not work well
        !           107:    to change the boundary between the text section and data section
        !           108:    when Emacs is dumped.  If you define this, the preloaded Lisp
        !           109:    code will not be sharable; but that's better than failing completely.  */
        !           110: 
        !           111: #define NO_REMAP
        !           112: 
        !           113: /* #define LD_SWITCH_MACHINE -N */
        !           114: 
        !           115: /* Use Terminfo, not Termcap.  */
        !           116: 
        !           117: #define TERMINFO
        !           118: 
        !           119: /* -O has been observed to make correct C code in Emacs not work.
        !           120:    So don't try to use it.  */
        !           121: 
        !           122: #if u3b2 || u3b5 || u3b15
        !           123: #define C_OPTIMIZE_SWITCH
        !           124: #endif
        !           125: 
        !           126: /* Define our page size.  */
        !           127: 
        !           128: #define NBPC 2048
        !           129: 
        !           130: /* The usual definition of XINT, which involves shifting, does not
        !           131:    sign-extend properly on this machine.  */
        !           132: 
        !           133: #define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \
        !           134:                 ? (sign_extend_temp | 0xFF000000) \
        !           135:                 : (sign_extend_temp & 0x00FFFFFF))
        !           136: 
        !           137: #ifdef emacs /* Don't do this when makeing xmakefile! */
        !           138: extern int sign_extend_temp;
        !           139: #endif
        !           140: 
        !           141: #if u3b2 || u3b5 || u3b15
        !           142: 
        !           143: /* On 3b2/5/15, data space has high order bit on. */
        !           144: #define VALMASK (((1<<VALBITS) - 1) | (1 << 31))
        !           145: #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & 0x7F))
        !           146: #define GCTYPEBITS 5
        !           147: #define XADDRFIX(a)    ((a) |= 0X80000000)     /* Because of high order */
        !           148: 
        !           149: #endif /* 3b2, 3b5 or 3b15 */
        !           150: 
        !           151: #define TEXT_START 0
        !           152: 
        !           153: 
        !           154: /* For alloca.c (not actually used, since HAVE_ALLOCA) */
        !           155: #define STACK_DIRECTION 1
        !           156: 
        !           157: /* (short) negative-int doesn't sign-extend correctly */
        !           158: #define SHORT_CAST_BUG

unix.superglobalmegacorp.com

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