Mercurial > emacs
annotate src/m/alliant.h @ 70338:f5a6154fa9f2
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-257
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 98)
- Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 02 May 2006 05:25:20 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
456 | 1 /* alliant.h Alliant machine running system version 2 or 3. |
64767
11814686b09f
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
2 Copyright (C) 1985, 1986, 1987, 2002, 2003, 2004, |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
3 2005, 2006 Free Software Foundation, Inc. |
456 | 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 | |
3699 | 12 the Free Software Foundation; either version 2, or (at your option) |
456 | 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 | |
64083 | 22 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 Boston, MA 02110-1301, USA. */ | |
456 | 24 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
25 /* The following line tells the configuration script what sort of |
456 | 26 operating system this machine is likely to run. |
27 USUAL-OPSYS="bsd4-2" */ | |
28 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
29 /* 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
|
30 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
|
31 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
32 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
33 |
456 | 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 | |
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 | |
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 | |
52401 | 121 |
122 /* arch-tag: 0ad5f932-f29a-4458-a24c-496cafdfd50d | |
123 (do not change this comment) */ |