Commit | Line | Data |
---|---|---|
20c428fd | 1 | /* alliant.h Alliant machine running system version 2 or 3. |
429ab54e GM |
2 | Copyright (C) 1985, 1986, 1987, 2001, 2002, 2003, 2004, |
3 | 2005, 2006, 2007 Free Software Foundation, Inc. | |
20c428fd JB |
4 | Note that for version 1 of the Alliant system |
5 | you should use alliant1.h instead of this file. | |
6 | Use alliant4.h for version 4. | |
7 | ||
8 | This file is part of GNU Emacs. | |
9 | ||
10 | GNU Emacs is free software; you can redistribute it and/or modify | |
11 | it under the terms of the GNU General Public License as published by | |
4a9f99bd | 12 | the Free Software Foundation; either version 3, or (at your option) |
20c428fd JB |
13 | any later version. |
14 | ||
15 | GNU Emacs is distributed in the hope that it will be useful, | |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | GNU General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU General Public License | |
21 | along with GNU Emacs; see the file COPYING. If not, write to | |
364c38d3 LK |
22 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 | Boston, MA 02110-1301, USA. */ | |
20c428fd | 24 | |
177c0ea7 | 25 | /* The following line tells the configuration script what sort of |
20c428fd JB |
26 | operating system this machine is likely to run. |
27 | USUAL-OPSYS="bsd4-2" */ | |
28 | ||
22e9fe24 | 29 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
74d3f806 KH |
30 | is the most significant byte. */ |
31 | ||
32 | #define WORDS_BIG_ENDIAN | |
33 | ||
20c428fd JB |
34 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
35 | * group of arguments and treat it as an array of the arguments. */ | |
36 | ||
37 | #ifdef ALLIANT_1 | |
38 | #define NO_ARG_ARRAY | |
39 | #endif | |
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 | ||
20c428fd JB |
46 | /* Now define a symbol for the cpu type, if your compiler |
47 | does not define it automatically: | |
48 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | |
49 | are the ones defined so far. */ | |
50 | ||
51 | #define ALLIANT | |
52 | ||
53 | /* Use type int rather than a union, to represent Lisp_Object */ | |
54 | /* This is desirable for most machines. */ | |
55 | ||
56 | #define NO_UNION_TYPE | |
57 | ||
58 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
59 | the 24-bit bit field into an int. In other words, if bit fields | |
60 | are always unsigned. | |
61 | ||
62 | If you use NO_UNION_TYPE, this flag does not matter. */ | |
63 | /* On Alliants, bitfields are unsigned. */ | |
64 | ||
65 | #define EXPLICIT_SIGN_EXTEND | |
66 | ||
67 | /* No load average information available for Alliants. */ | |
68 | ||
69 | #undef LOAD_AVE_TYPE | |
70 | #undef LOAD_AVE_CVT | |
71 | ||
72 | /* Define CANNOT_DUMP on machines where unexec does not work. | |
73 | Then the function dump-emacs will not be defined | |
74 | and temacs will do (load "loadup") automatically unless told otherwise. */ | |
75 | ||
76 | #undef CANNOT_DUMP | |
77 | ||
78 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
79 | pure and impure space as loaded can vary, and even their | |
80 | relative order cannot be relied on. | |
81 | ||
82 | Otherwise Emacs assumes that text space precedes data space, | |
83 | numerically. */ | |
84 | ||
85 | #undef VIRT_ADDR_VARIES | |
86 | ||
20c428fd JB |
87 | /* Define NO_REMAP if memory segmentation makes it not work well |
88 | to change the boundary between the text section and data section | |
89 | when Emacs is dumped. If you define this, the preloaded Lisp | |
90 | code will not be sharable; but that's better than failing completely. */ | |
91 | /* Actually, Alliant CONCENTRIX does paging "right": | |
92 | data pages are copy-on-write, which means that the pure data areas | |
93 | are shared automatically and remapping is not necessary. */ | |
94 | ||
95 | #define NO_REMAP | |
96 | ||
97 | /* Alliant needs special crt0.o because system version is not reentrant */ | |
98 | ||
99 | #define START_FILES crt0.o | |
100 | ||
101 | /* Alliant dependent code for dumping executing image. | |
102 | See crt0.c code for alliant. */ | |
103 | ||
104 | #define ADJUST_EXEC_HEADER {\ | |
105 | extern int _curbrk, _setbrk;\ | |
106 | _setbrk = _curbrk;\ | |
107 | hdr.a_bss_addr = bss_start;\ | |
108 | unexec_text_start = hdr.a_text_addr;} | |
109 | ||
110 | /* cc screws up on long names. Try making cpp replace them. */ | |
111 | ||
112 | #ifdef ALLIANT_1 | |
113 | #define Finsert_abbrev_table_description Finsert_abbrev_table_descrip | |
114 | #define internal_with_output_to_temp_buffer internal_with_output_to_tem | |
115 | #endif | |
116 | ||
117 | /* "vector" is a typedef in /usr/include/machine/reg.h, so its use as | |
118 | a variable name causes errors when compiling under ANSI C. */ | |
119 | ||
120 | #define vector xxvector | |
ab5796a9 MB |
121 | |
122 | /* arch-tag: 0ad5f932-f29a-4458-a24c-496cafdfd50d | |
123 | (do not change this comment) */ |