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

1.1     ! root        1: /* m- file for intel 386.
        !             2:    Copyright (C) 1987 Free Software Foundation, Inc.
        !             3: 
        !             4: This file is part of GNU Emacs.
        !             5: 
        !             6: GNU Emacs is distributed in the hope that it will be useful,
        !             7: but WITHOUT ANY WARRANTY.  No author or distributor
        !             8: accepts responsibility to anyone for the consequences of using it
        !             9: or for whether it serves any particular purpose or works at all,
        !            10: unless he says so in writing.  Refer to the GNU Emacs General Public
        !            11: License for full details.
        !            12: 
        !            13: Everyone is granted permission to copy, modify and redistribute
        !            14: GNU Emacs, but only under the conditions described in the
        !            15: GNU Emacs General Public License.   A copy of this license is
        !            16: supposed to have been given to you along with GNU Emacs so you
        !            17: can know your rights and responsibilities.  It should be in a
        !            18: file named COPYING.  Among other things, the copyright notice
        !            19: and this notice must be preserved on all copies.  */
        !            20: 
        !            21: 
        !            22: /* The following three symbols give information on
        !            23:  the size of various data types.  */
        !            24: 
        !            25: #define SHORTBITS 16           /* Number of bits in a short */
        !            26: 
        !            27: #define INTBITS 32             /* Number of bits in an int */
        !            28: 
        !            29: #define LONGBITS 32            /* Number of bits in a long */
        !            30: 
        !            31: /* i386 is not big-endian: lowest numbered byte is least significant. */
        !            32: 
        !            33: /* #undef BIG_ENDIAN */
        !            34: 
        !            35: /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
        !            36:  * group of arguments and treat it as an array of the arguments.  */
        !            37: 
        !            38: /* #define NO_ARG_ARRAY */
        !            39: 
        !            40: /* Define WORD_MACHINE if addresses and such have
        !            41:  * to be corrected before they can be used as byte counts.  */
        !            42: 
        !            43: /* #define WORD_MACHINE */
        !            44: 
        !            45: /* Define how to take a char and sign-extend into an int.
        !            46:    On machines where char is signed, this is a no-op.  */
        !            47: 
        !            48: #define SIGN_EXTEND_CHAR(c) (c)
        !            49: 
        !            50: /* Now define a symbol for the cpu type, if your compiler
        !            51:    does not define it automatically:
        !            52:    Ones defined so far include vax, m68000, ns16000, pyramid,
        !            53:    orion, tahoe, APOLLO and many others */
        !            54: 
        !            55: #define INTEL386
        !            56: 
        !            57: /* Use type int rather than a union, to represent Lisp_Object */
        !            58: 
        !            59: #define NO_UNION_TYPE
        !            60: 
        !            61: /* crt0.c, if it is used, should use the i386-bsd style of entry.
        !            62:    with no extra dummy args.  On USG and XENIX,
        !            63:    NO_REMAP says this isn't used. */
        !            64: 
        !            65: #define CRT0_DUMMIES bogus_fp,
        !            66: 
        !            67: /* crt0.c should define a symbol `start' and do .globl with a dot.  */
        !            68: 
        !            69: #define DOT_GLOBAL_START
        !            70: 
        !            71: /* USG systems do not actually support the load average,
        !            72: so disable it for them.  */
        !            73: 
        !            74: #ifdef XENIX
        !            75: /* Data type of load average, as read out of kmem.  */
        !            76: #define LOAD_AVE_TYPE short
        !            77: 
        !            78: /* Convert that into an integer that is 100 for a load average of 1.0  */
        !            79: #define LOAD_AVE_CVT(x) (((double) (x)) * 100.0 / FSCALE)
        !            80:   
        !            81: #define FSCALE 256.0         /* determined by experimentation...  */
        !            82: #endif
        !            83: 
        !            84: /* Define CANNOT_DUMP on machines where unexec does not work.
        !            85:    Then the function dump-emacs will not be defined
        !            86:    and temacs will do (load "loadup") automatically unless told otherwise.  */
        !            87: 
        !            88: /* #define CANNOT_DUMP */
        !            89: 
        !            90: /* Define VIRT_ADDR_VARIES if the virtual addresses of
        !            91:    pure and impure space as loaded can vary, and even their
        !            92:    relative order cannot be relied on.
        !            93: 
        !            94:    Otherwise Emacs assumes that text space precedes data space,
        !            95:    numerically.  */
        !            96: 
        !            97: /* #define VIRT_ADDR_VARIES */
        !            98: 
        !            99: #ifdef XENIX
        !           100: #define VALBITS 26
        !           101: #define GCTYPEBITS 5
        !           102: 
        !           103: /* Define NO_REMAP if memory segmentation makes it not work well
        !           104:    to change the boundary between the text section and data section
        !           105:    when Emacs is dumped.  If you define this, the preloaded Lisp
        !           106:    code will not be sharable; but that's better than failing completely.  */
        !           107: 
        !           108: #define NO_REMAP
        !           109: 
        !           110: #define STACK_DIRECTION -1
        !           111: 
        !           112: /* Since cannot purify, use standard Xenix 386 startup code. */
        !           113: 
        !           114: #define START_FILES    /lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o
        !           115: 
        !           116: /* These really use terminfo.  */
        !           117: 
        !           118: #define LIBS_TERMCAP /lib/386/Slibcurses.a  \
        !           119:    /lib/386/Slibtinfo.a /lib/386/Slibx.a
        !           120: 
        !           121: /* Standard libraries for this machine.  Since `-l' doesn't work in `ld'.  */
        !           122: /* '__fltused' is unresolved w/o Slibcfp.a */
        !           123: #define LIB_STANDARD /lib/386/Slibcfp.a /lib/386/Slibc.a
        !           124: #else /* not XENIX */
        !           125: 
        !           126: #ifdef USG
        !           127: #define LIB_STANDARD -lPW -lc
        !           128: #define HAVE_ALLOCA
        !           129: #define NO_REMAP 
        !           130: #define TEXT_START 0
        !           131: #endif /* USG */
        !           132: #endif /* not XENIX */
        !           133: 
        !           134: #ifdef BSD
        !           135: #define HAVE_ALLOCA
        !           136: #endif /* BSD */

unix.superglobalmegacorp.com

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