]> code.delx.au - gnu-emacs/blob - src/m/alliant.h
(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h.
[gnu-emacs] / 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.
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
11 the Free Software Foundation; either version 2, or (at your option)
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
21 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22
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" */
26
27 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
28 is the most significant byte. */
29
30 #define WORDS_BIG_ENDIAN
31
32 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
33 * group of arguments and treat it as an array of the arguments. */
34
35 #ifdef ALLIANT_1
36 #define NO_ARG_ARRAY
37 #endif
38
39 /* Define WORD_MACHINE if addresses and such have
40 * to be corrected before they can be used as byte counts. */
41
42 #undef WORD_MACHINE
43
44 /* Now define a symbol for the cpu type, if your compiler
45 does not define it automatically:
46 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
47 are the ones defined so far. */
48
49 #define ALLIANT
50
51 /* Use type int rather than a union, to represent Lisp_Object */
52 /* This is desirable for most machines. */
53
54 #define NO_UNION_TYPE
55
56 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
57 the 24-bit bit field into an int. In other words, if bit fields
58 are always unsigned.
59
60 If you use NO_UNION_TYPE, this flag does not matter. */
61 /* On Alliants, bitfields are unsigned. */
62
63 #define EXPLICIT_SIGN_EXTEND
64
65 /* No load average information available for Alliants. */
66
67 #undef LOAD_AVE_TYPE
68 #undef LOAD_AVE_CVT
69
70 /* Define CANNOT_DUMP on machines where unexec does not work.
71 Then the function dump-emacs will not be defined
72 and temacs will do (load "loadup") automatically unless told otherwise. */
73
74 #undef CANNOT_DUMP
75
76 /* Define VIRT_ADDR_VARIES if the virtual addresses of
77 pure and impure space as loaded can vary, and even their
78 relative order cannot be relied on.
79
80 Otherwise Emacs assumes that text space precedes data space,
81 numerically. */
82
83 #undef VIRT_ADDR_VARIES
84
85 /* Define C_ALLOCA if this machine does not support a true alloca
86 and the one written in C should be used instead.
87 Define HAVE_ALLOCA to say that the system provides a properly
88 working alloca function and it should be used.
89 Define neither one if an assembler-language alloca
90 in the file alloca.s should be used. */
91
92 #undef C_ALLOCA
93 #define HAVE_ALLOCA
94
95 #ifdef ALLIANT_1
96 #define C_ALLOCA
97 #undef HAVE_ALLOCA
98 #endif /* ALLIANT_1 */
99
100 /* Define NO_REMAP if memory segmentation makes it not work well
101 to change the boundary between the text section and data section
102 when Emacs is dumped. If you define this, the preloaded Lisp
103 code will not be sharable; but that's better than failing completely. */
104 /* Actually, Alliant CONCENTRIX does paging "right":
105 data pages are copy-on-write, which means that the pure data areas
106 are shared automatically and remapping is not necessary. */
107
108 #define NO_REMAP
109
110 /* Alliant needs special crt0.o because system version is not reentrant */
111
112 #define START_FILES crt0.o
113
114 /* Alliant dependent code for dumping executing image.
115 See crt0.c code for alliant. */
116
117 #define ADJUST_EXEC_HEADER {\
118 extern int _curbrk, _setbrk;\
119 _setbrk = _curbrk;\
120 hdr.a_bss_addr = bss_start;\
121 unexec_text_start = hdr.a_text_addr;}
122
123 /* cc screws up on long names. Try making cpp replace them. */
124
125 #ifdef ALLIANT_1
126 #define Finsert_abbrev_table_description Finsert_abbrev_table_descrip
127 #define internal_with_output_to_temp_buffer internal_with_output_to_tem
128 #endif
129
130 /* "vector" is a typedef in /usr/include/machine/reg.h, so its use as
131 a variable name causes errors when compiling under ANSI C. */
132
133 #define vector xxvector