]>
code.delx.au - gnu-emacs/blob - src/m/alliant.h
1 /* alliant.h Alliant machine running system version 2 or 3.
2 Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
3 Note that for version 1 of the Alliant system
4 you should use alliant1.h instead of this file.
5 Use alliant4.h for version 4.
7 This file is part of GNU Emacs.
9 GNU Emacs is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
14 GNU Emacs is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GNU Emacs; see the file COPYING. If not, write to
21 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
23 /* The following line tells the configuration script what sort of
24 operating system this machine is likely to run.
25 USUAL-OPSYS="bsd4-2" */
27 /* The following three symbols give information on
28 the size of various data types. */
30 #define SHORTBITS 16 /* Number of bits in a short */
32 #define INTBITS 32 /* Number of bits in an int */
34 #define LONGBITS 32 /* Number of bits in a long */
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. */
43 /* Define WORD_MACHINE if addresses and such have
44 * to be corrected before they can be used as byte counts. */
48 /* Now define a symbol for the cpu type, if your compiler
49 does not define it automatically:
50 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
51 are the ones defined so far. */
55 /* Use type int rather than a union, to represent Lisp_Object */
56 /* This is desirable for most machines. */
60 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
61 the 24-bit bit field into an int. In other words, if bit fields
64 If you use NO_UNION_TYPE, this flag does not matter. */
65 /* On Alliants, bitfields are unsigned. */
67 #define EXPLICIT_SIGN_EXTEND
69 /* No load average information available for Alliants. */
74 /* Define CANNOT_DUMP on machines where unexec does not work.
75 Then the function dump-emacs will not be defined
76 and temacs will do (load "loadup") automatically unless told otherwise. */
80 /* Define VIRT_ADDR_VARIES if the virtual addresses of
81 pure and impure space as loaded can vary, and even their
82 relative order cannot be relied on.
84 Otherwise Emacs assumes that text space precedes data space,
87 #undef VIRT_ADDR_VARIES
89 /* Define C_ALLOCA if this machine does not support a true alloca
90 and the one written in C should be used instead.
91 Define HAVE_ALLOCA to say that the system provides a properly
92 working alloca function and it should be used.
93 Define neither one if an assembler-language alloca
94 in the file alloca.s should be used. */
102 #endif /* ALLIANT_1 */
104 /* Define NO_REMAP if memory segmentation makes it not work well
105 to change the boundary between the text section and data section
106 when Emacs is dumped. If you define this, the preloaded Lisp
107 code will not be sharable; but that's better than failing completely. */
108 /* Actually, Alliant CONCENTRIX does paging "right":
109 data pages are copy-on-write, which means that the pure data areas
110 are shared automatically and remapping is not necessary. */
114 /* Alliant needs special crt0.o because system version is not reentrant */
116 #define START_FILES crt0.o
118 /* Alliant dependent code for dumping executing image.
119 See crt0.c code for alliant. */
121 #define ADJUST_EXEC_HEADER {\
122 extern int _curbrk, _setbrk;\
124 hdr.a_bss_addr = bss_start;\
125 unexec_text_start = hdr.a_text_addr;}
127 /* cc screws up on long names. Try making cpp replace them. */
130 #define Finsert_abbrev_table_description Finsert_abbrev_table_descrip
131 #define internal_with_output_to_temp_buffer internal_with_output_to_tem
134 /* "vector" is a typedef in /usr/include/machine/reg.h, so its use as
135 a variable name causes errors when compiling under ANSI C. */
137 #define vector xxvector