Mercurial > emacs
annotate src/m/alliant.h @ 28205:1592a7956ed3
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 20 Mar 2000 01:41:48 +0000 |
parents | ee40177f6c68 |
children | 4be8406ebef9 |
rev | line source |
---|---|
456 | 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. | |
6 | |
7 This file is part of GNU Emacs. | |
8 | |
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 | |
3699 | 11 the Free Software Foundation; either version 2, or (at your option) |
456 | 12 any later version. |
13 | |
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. | |
18 | |
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 | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
21 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
22 Boston, MA 02111-1307, USA. */ |
456 | 23 |
24 /* The following line tells the configuration script what sort of | |
25 operating system this machine is likely to run. | |
26 USUAL-OPSYS="bsd4-2" */ | |
27 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
28 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
29 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
30 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
31 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
32 |
456 | 33 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
34 * group of arguments and treat it as an array of the arguments. */ | |
35 | |
36 #ifdef ALLIANT_1 | |
37 #define NO_ARG_ARRAY | |
38 #endif | |
39 | |
40 /* Define WORD_MACHINE if addresses and such have | |
41 * to be corrected before they can be used as byte counts. */ | |
42 | |
43 #undef WORD_MACHINE | |
44 | |
45 /* Now define a symbol for the cpu type, if your compiler | |
46 does not define it automatically: | |
47 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | |
48 are the ones defined so far. */ | |
49 | |
50 #define ALLIANT | |
51 | |
52 /* Use type int rather than a union, to represent Lisp_Object */ | |
53 /* This is desirable for most machines. */ | |
54 | |
55 #define NO_UNION_TYPE | |
56 | |
57 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
58 the 24-bit bit field into an int. In other words, if bit fields | |
59 are always unsigned. | |
60 | |
61 If you use NO_UNION_TYPE, this flag does not matter. */ | |
62 /* On Alliants, bitfields are unsigned. */ | |
63 | |
64 #define EXPLICIT_SIGN_EXTEND | |
65 | |
66 /* No load average information available for Alliants. */ | |
67 | |
68 #undef LOAD_AVE_TYPE | |
69 #undef LOAD_AVE_CVT | |
70 | |
71 /* Define CANNOT_DUMP on machines where unexec does not work. | |
72 Then the function dump-emacs will not be defined | |
73 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
74 | |
75 #undef CANNOT_DUMP | |
76 | |
77 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
78 pure and impure space as loaded can vary, and even their | |
79 relative order cannot be relied on. | |
80 | |
81 Otherwise Emacs assumes that text space precedes data space, | |
82 numerically. */ | |
83 | |
84 #undef VIRT_ADDR_VARIES | |
85 | |
86 /* Define C_ALLOCA if this machine does not support a true alloca | |
87 and the one written in C should be used instead. | |
88 Define HAVE_ALLOCA to say that the system provides a properly | |
89 working alloca function and it should be used. | |
90 Define neither one if an assembler-language alloca | |
91 in the file alloca.s should be used. */ | |
92 | |
93 #undef C_ALLOCA | |
94 #define HAVE_ALLOCA | |
95 | |
96 #ifdef ALLIANT_1 | |
97 #define C_ALLOCA | |
98 #undef HAVE_ALLOCA | |
99 #endif /* ALLIANT_1 */ | |
100 | |
101 /* Define NO_REMAP if memory segmentation makes it not work well | |
102 to change the boundary between the text section and data section | |
103 when Emacs is dumped. If you define this, the preloaded Lisp | |
104 code will not be sharable; but that's better than failing completely. */ | |
105 /* Actually, Alliant CONCENTRIX does paging "right": | |
106 data pages are copy-on-write, which means that the pure data areas | |
107 are shared automatically and remapping is not necessary. */ | |
108 | |
109 #define NO_REMAP | |
110 | |
111 /* Alliant needs special crt0.o because system version is not reentrant */ | |
112 | |
113 #define START_FILES crt0.o | |
114 | |
115 /* Alliant dependent code for dumping executing image. | |
116 See crt0.c code for alliant. */ | |
117 | |
118 #define ADJUST_EXEC_HEADER {\ | |
119 extern int _curbrk, _setbrk;\ | |
120 _setbrk = _curbrk;\ | |
121 hdr.a_bss_addr = bss_start;\ | |
122 unexec_text_start = hdr.a_text_addr;} | |
123 | |
124 /* cc screws up on long names. Try making cpp replace them. */ | |
125 | |
126 #ifdef ALLIANT_1 | |
127 #define Finsert_abbrev_table_description Finsert_abbrev_table_descrip | |
128 #define internal_with_output_to_temp_buffer internal_with_output_to_tem | |
129 #endif | |
130 | |
131 /* "vector" is a typedef in /usr/include/machine/reg.h, so its use as | |
132 a variable name causes errors when compiling under ANSI C. */ | |
133 | |
134 #define vector xxvector |