Annotation of GNUtools/emacs/src/m-all2800.h, revision 1.1.1.1

1.1       root        1: /* m-alliant-2800.h  Alliant FX/2800 machine running Concentrix 2800.
                      2:    Copyright (C) 1990 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: /* Define BIG_ENDIAN iff lowest-numbered byte in a word
                     32:    is the most significant byte.  */
                     33: 
                     34: #undef BIG_ENDIAN
                     35: 
                     36: /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
                     37:  * group of arguments and treat it as an array of the arguments.  */
                     38: 
                     39: #define NO_ARG_ARRAY
                     40: 
                     41: /* Define WORD_MACHINE if addresses and such have
                     42:  * to be corrected before they can be used as byte counts.  */
                     43: 
                     44: #undef WORD_MACHINE
                     45: 
                     46: /* Define how to take a char and sign-extend into an int.
                     47:    On machines where char is signed, this is a no-op.  */
                     48: 
                     49: #define SIGN_EXTEND_CHAR(c) (c)
                     50: 
                     51: /* Now define a symbol for the cpu type, if your compiler
                     52:    does not define it automatically:
                     53:    vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
                     54:    are the ones defined so far.  */
                     55: 
                     56: #define ALLIANT
                     57: #define ALLIANT_2800
                     58: #define sun                    /* Use X support for Sun keyboard stuff. */
                     59: #define C_OPTIMIZE_SWITCH -Og  /* No concurrent code allowed here. */
                     60: #define VALBITS 26
                     61: #define GCTYPEBITS 5
                     62: 
                     63: /* Use type int rather than a union, to represent Lisp_Object */
                     64: /* This is desirable for most machines.  */
                     65: 
                     66: #define NO_UNION_TYPE
                     67: 
                     68: /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
                     69:    the 24-bit bit field into an int.  In other words, if bit fields
                     70:    are always unsigned.
                     71: 
                     72:    If you use NO_UNION_TYPE, this flag does not matter.  */
                     73: /* On Alliants, bitfields are unsigned. */
                     74: 
                     75: #define EXPLICIT_SIGN_EXTEND
                     76: 
                     77: /* Concentrix uses a different kernel symbol for load average. */
                     78: 
                     79: #undef  LDAV_SYMBOL            /* Undo definition in s-bsd4-2.h */
                     80: #define LDAV_SYMBOL "_Loadavg"
                     81: 
                     82: /* Data type of load average, as read out of kmem.  */
                     83: 
                     84: #define LOAD_AVE_TYPE long
                     85: 
                     86: /* Convert that into an integer that is 100 for a load average of 1.0  */
                     87: 
                     88: #define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE)
                     89: 
                     90: /* include <sys/param.h> for the definition of LOADAVG_SCALE, and also
                     91:    LOADAVG_SIZE, the number of items in the Loadavg array. */
                     92: 
                     93: /* Define CANNOT_DUMP on machines where unexec does not work.
                     94:    Then the function dump-emacs will not be defined
                     95:    and temacs will do (load "loadup") automatically unless told otherwise.  */
                     96: 
                     97: /* #define CANNOT_DUMP */
                     98: #define UNEXEC unexfx2800.o
                     99: #define LIBS_MACHINE -lalliant
                    100: 
                    101: /* Define VIRT_ADDR_VARIES if the virtual addresses of
                    102:    pure and impure space as loaded can vary, and even their
                    103:    relative order cannot be relied on.
                    104: 
                    105:    Otherwise Emacs assumes that text space precedes data space,
                    106:    numerically.  */
                    107: 
                    108: #undef VIRT_ADDR_VARIES
                    109: 
                    110: /* Define C_ALLOCA if this machine does not support a true alloca
                    111:    and the one written in C should be used instead.
                    112:    Define HAVE_ALLOCA to say that the system provides a properly
                    113:    working alloca function and it should be used.
                    114:    Define neither one if an assembler-language alloca
                    115:    in the file alloca.s should be used.  */
                    116: 
                    117: #undef C_ALLOCA
                    118: #define HAVE_ALLOCA
                    119: 
                    120: /* Define NO_REMAP if memory segmentation makes it not work well
                    121:    to change the boundary between the text section and data section
                    122:    when Emacs is dumped.  If you define this, the preloaded Lisp
                    123:    code will not be sharable; but that's better than failing completely.  */
                    124: /* Actually, Alliant CONCENTRIX does paging "right":
                    125:    data pages are copy-on-write, which means that the pure data areas
                    126:    are shared automatically and remapping is not necessary.  */
                    127: 
                    128: #define NO_REMAP
                    129: 
                    130: /* Alliant needs special crt0.o because system version is not reentrant */
                    131: 
                    132: #define START_FILES crt0.o
                    133: 
                    134: /* Alliant dependent code for dumping executing image.
                    135:    See crt0.c code for alliant.  */
                    136: 
                    137: #define ADJUST_EXEC_HEADER {\
                    138: extern int _curbrk, _setbrk;\
                    139: _setbrk = _curbrk;\
                    140: hdr.a_bss_addr = bss_start;\
                    141: unexec_text_start = hdr.a_text_addr;}
                    142: 
                    143: /* POSIX Compatibility */
                    144: /* Use System V.4 style getdents/readdir <dirent.h> for 2.2 and up. */
                    145: #define SYSV_SYSTEM_DIR
                    146: #define HAVE_CLOSEDIR

unix.superglobalmegacorp.com

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