Mercurial > emacs
annotate src/m/dpx2.h @ 13558:0e1539fdf37c
(c++-mode): Remove autoload cookie.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 15 Nov 1995 18:58:57 +0000 |
parents | 1d4654a97585 |
children | ee40177f6c68 |
rev | line source |
---|---|
4085 | 1 /* machine description for Bull DPX/2 range |
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. | |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
12250 | 8 the Free Software Foundation; either version 2, or (at your option) |
4085 | 9 any later version. |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GNU Emacs; see the file COPYING. If not, write to | |
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
19 | |
20 /* The following line tells the configuration script what sort of | |
21 operating system this machine is likely to run. | |
22 USUAL-OPSYS="usg5-3" */ | |
23 | |
24 /* | |
25 * You need to either un-comment one of these lines, or copy one | |
26 * of them to config.h before you include this file. | |
27 * Note that some simply define a constant and others set a value. | |
28 */ | |
29 | |
30 /* #define ncl_el /* DPX/2 210,220 etc */ | |
31 /* #define ncl_mr 1 /* DPX/2 320,340 (and 360,380 ?) */ | |
32 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
33 /* 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
|
34 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
|
35 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
36 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
37 |
4085 | 38 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
39 * group of arguments and treat it as an array of the arguments. */ | |
40 | |
41 #define NO_ARG_ARRAY | |
42 | |
43 /* Define WORD_MACHINE if addresses and such have | |
44 * to be corrected before they can be used as byte counts. */ | |
45 | |
46 /* #define WORD_MACHINE /**/ | |
47 | |
48 /* Now define a symbol for the cpu type, if your compiler | |
49 does not define it automatically: | |
50 Ones defined so far include vax, m68000, ns16000, pyramid, | |
51 orion, tahoe, APOLLO and many others */ | |
52 | |
53 /* /bin/cc on ncl_el and ncl_mr define m68k and mc68000 */ | |
54 | |
55 /* Use type int rather than a union, to represent Lisp_Object */ | |
56 /* This is desirable for most machines. */ | |
57 | |
58 #define NO_UNION_TYPE | |
59 | |
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 | |
62 are always unsigned. | |
63 | |
64 If you use NO_UNION_TYPE, this flag does not matter. */ | |
65 | |
66 #define EXPLICIT_SIGN_EXTEND | |
67 | |
68 /* Data type of load average, as read out of kmem. */ | |
69 | |
70 #define LOAD_AVE_TYPE long | |
71 | |
72 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
73 | |
74 #define FSCALE 1000.0 | |
75 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
76 | |
77 /* Define CANNOT_DUMP on machines where unexec does not work. | |
78 Then the function dump-emacs will not be defined | |
79 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
80 | |
81 /*#define CANNOT_DUMP /**/ | |
82 | |
83 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
84 pure and impure space as loaded can vary, and even their | |
85 relative order cannot be relied on. | |
86 | |
87 Otherwise Emacs assumes that text space precedes data space, | |
88 numerically. */ | |
89 | |
90 /* #define VIRT_ADDR_VARIES /**/ | |
91 | |
92 /* Define C_ALLOCA if this machine does not support a true alloca | |
93 and the one written in C should be used instead. | |
94 Define HAVE_ALLOCA to say that the system provides a properly | |
95 working alloca function and it should be used. | |
96 Define neither one if an assembler-language alloca | |
97 in the file alloca.s should be used. */ | |
98 | |
99 #define C_ALLOCA | |
100 /* #define HAVE_ALLOCA /**/ | |
101 | |
102 /* Define NO_REMAP if memory segmentation makes it not work well | |
103 to change the boundary between the text section and data section | |
104 when Emacs is dumped. If you define this, the preloaded Lisp | |
105 code will not be sharable; but that's better than failing completely. */ | |
106 | |
107 #define NO_REMAP | |
108 | |
109 /* | |
110 * end of the standard macro's | |
111 */ | |
112 | |
113 /* | |
114 * a neat identifier to handle source mods (if needed) | |
115 */ | |
116 #ifndef DPX2 | |
117 #define DPX2 | |
118 #endif | |
119 | |
120 /* Disable support for shared libraries in unexec. */ | |
121 | |
122 #undef USG_SHARED_LIBRARIES | |
123 | |
124 /* | |
125 * if we use X11, libX11.a has these... | |
126 */ | |
127 # undef LIB_X11_LIB | |
128 # define LIB_X11_LIB -lX11 | |
129 # undef LIBX11_SYSTEM | |
130 # define LIBX11_SYSTEM -lmalloc -lnsl | |
131 # define BSTRING | |
132 # define HAVE_GETWD | |
133 | |
134 /* | |
135 * we must have INET loaded so we have sockets | |
136 */ | |
137 # define HAVE_SOCKETS | |
138 | |
139 /* | |
140 * useful if you have INET loaded | |
141 */ | |
142 # define LIBS_MACHINE -linet | |
143 | |
144 | |
145 #if (defined(ncl_mr) || defined(ncl_el)) && !defined (NBPC) | |
146 # define NBPC 4096 | |
147 #endif | |
148 | |
149 /* | |
150 * if SIGIO is defined, much of the emacs | |
151 * code assumes we are BSD !! | |
152 */ | |
153 #ifdef SIGIO | |
154 # undef SIGIO | |
155 #endif | |
156 | |
157 | |
158 /* | |
159 * a good idea on multi-user systems :-) | |
160 */ | |
161 #define CLASH_DETECTION /* probably a good idea */ | |
162 | |
163 | |
164 #ifdef SIGTSTP | |
165 /* | |
166 * sysdep.c(sys_suspend) works fine with emacs-18.58 | |
167 * and BOS 02.00.45, if you have an earler version | |
168 * of Emacs and/or BOS, or have problems, or just prefer | |
169 * to start a sub-shell rather than suspend-emacs, | |
170 * un-comment out the next line. | |
171 */ | |
4533
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
172 /* # undef SIGTSTP /* make suspend-emacs spawn a sub-shell */ |
4085 | 173 # ifdef NOMULTIPLEJOBS |
174 # undef NOMULTIPLEJOBS | |
175 # endif | |
176 #endif | |
177 /* | |
178 * no we don't want this at all | |
179 */ | |
180 #ifdef USG_JOBCTRL | |
181 # undef USG_JOBCTRL | |
182 #endif | |
183 | |
184 /* | |
185 * but we have that | |
186 */ | |
187 #define GETPGRP_NO_ARG | |
188 | |
189 /* select also needs this header file--but not in ymakefile. */ | |
190 #ifndef NOT_C_CODE | |
191 #include <sys/types.h> | |
192 #include <sys/select.h> | |
193 #endif | |
194 | |
195 #define TEXT_START 0 | |
196 | |
197 /* | |
198 * Define the direction of stack growth. | |
199 */ | |
200 | |
201 #define STACK_DIRECTION -1 | |
202 | |
203 /* we have termios */ | |
204 #undef HAVE_TERMIO | |
205 #define HAVE_TERMIOS | |
4533
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
206 #define HAVE_TCATTR |
4085 | 207 |
208 /* we also have this */ | |
209 #define HAVE_PTYS | |
210 #define SYSV_PTYS | |
211 | |
212 /* It doesn't seem we have sigpause */ | |
213 #undef HAVE_SYSV_SIGPAUSE | |
214 | |
9116
c49e28d99238
(POSIX_SIGNALS): Define it.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
215 #define POSIX_SIGNALS |
c49e28d99238
(POSIX_SIGNALS): Define it.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
216 |
c49e28d99238
(POSIX_SIGNALS): Define it.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
217 /* We don't need the definition from usg5-3.h with POSIX_SIGNALS. */ |
c49e28d99238
(POSIX_SIGNALS): Define it.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
218 #undef sigsetmask |
c49e28d99238
(POSIX_SIGNALS): Define it.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
219 |
4085 | 220 |
221 /* on bos2.00.45 there is a bug that makes the F_SETOWN fcntl() call | |
222 enters in an infinite loop. Avoid calling it */ | |
223 #define F_SETOWN_BUG | |
224 | |
4533
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
225 /* system closedir sometimes complains about wrong descriptor |
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
226 for no apparent reasons. Use the provided closedir in sysdep.c instead */ |
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
227 #ifdef HAVE_CLOSEDIR |
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
228 #undef HAVE_CLOSEDIR |
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
229 #endif |
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
230 |
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
231 /* Send signals to subprocesses by "typing" signal chars at them. */ |
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
232 #define SIGNALS_VIA_CHARACTERS |
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
233 |
9628
d325ca3a67e4
(LD_SWITCH_MACHINE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9116
diff
changeset
|
234 /* This is to prevent memory clobbering on the DPX/2 200. */ |
d325ca3a67e4
(LD_SWITCH_MACHINE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9116
diff
changeset
|
235 #define LD_SWITCH_MACHINE -N -T32 |
d325ca3a67e4
(LD_SWITCH_MACHINE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9116
diff
changeset
|
236 |
4533
51eef6f31754
(HAVE_TCATTR): Macro #defined.
Richard M. Stallman <rms@gnu.org>
parents:
4085
diff
changeset
|
237 /* end of dpx2.h */ |
4085 | 238 |
239 |