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

1.1     ! root        1: /* m- file for Sun 68000's OPERATING SYSTEM version 2.
        !             2:   Note that "m-sun2.h" refers to the operating system version, not the
        !             3:   CPU model number.  See the MACHINES file for details.
        !             4:    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
        !             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: /* 68000 has lowest-numbered byte as most significant */
        !            34: 
        !            35: #define BIG_ENDIAN
        !            36: 
        !            37: /* Define how to take a char and sign-extend into an int.
        !            38:    On machines where char is signed, this is a no-op.  */
        !            39: 
        !            40: #define SIGN_EXTEND_CHAR(c) (c)
        !            41: 
        !            42: /* Say this machine is a 68000 */
        !            43: 
        !            44: #ifndef m68000
        !            45: #define m68000
        !            46: #endif
        !            47: 
        !            48: /* Use type int rather than a union, to represent Lisp_Object */
        !            49: 
        !            50: #define NO_UNION_TYPE
        !            51: 
        !            52: /* Sun can't write competent compilers */
        !            53: #define COMPILER_REGISTER_BUG
        !            54: 
        !            55: /* XINT must explicitly sign-extend */
        !            56: 
        !            57: #define EXPLICIT_SIGN_EXTEND
        !            58: 
        !            59: /* Data type of load average, as read out of kmem.  */
        !            60: 
        !            61: #define LOAD_AVE_TYPE long
        !            62: 
        !            63: /* Convert that into an integer that is 100 for a load average of 1.0  */
        !            64: 
        !            65: #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
        !            66: 
        !            67: /* Say that this is a Sun 2; must check for and maybe reinitialize
        !            68:    the "sky" board.  */
        !            69: 
        !            70: #define sun2
        !            71: 
        !            72: /* Must use the system's termcap.  It does special things.  */
        !            73: 
        !            74: #define LIBS_TERMCAP -ltermcap
        !            75: 
        !            76: /* Mask for address bits within a memory segment */
        !            77: 
        !            78: #define SEGMENT_MASK (SEGSIZ - 1)
        !            79: 
        !            80: /* Arrange to link with sun windows, if requested.  */
        !            81: /* For details on emacstool and sunfns, see etc/SUN-SUPPORT */
        !            82: /* These programs require Sun UNIX 4.2 Release 3.2 or greater */
        !            83: 
        !            84: #ifdef HAVE_SUN_WINDOWS
        !            85: #define OTHER_FILES  ${etcdir}emacstool
        !            86: #define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect
        !            87: #define OBJECTS_MACHINE sunfns.o
        !            88: #define SYMS_MACHINE syms_of_sunfns ()
        !            89: #define PURESIZE 132000
        !            90: #endif

unix.superglobalmegacorp.com

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