]>
code.delx.au - gnu-emacs/blob - src/m/dpx2.h
1 /* machine description for Bull DPX/2 range
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
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
8 the Free Software Foundation; either version 1, or (at your option)
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.
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. */
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" */
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.
30 /* #define ncl_el /* DPX/2 210,220 etc */
31 /* #define ncl_mr 1 /* DPX/2 320,340 (and 360,380 ?) */
33 /* The following three symbols give information on
34 the size of various data types. */
36 #define SHORTBITS 16 /* Number of bits in a short */
38 #define INTBITS 32 /* Number of bits in an int */
40 #define LONGBITS 32 /* Number of bits in a long */
42 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
43 * group of arguments and treat it as an array of the arguments. */
47 /* Define WORD_MACHINE if addresses and such have
48 * to be corrected before they can be used as byte counts. */
50 /* #define WORD_MACHINE /**/
52 /* Now define a symbol for the cpu type, if your compiler
53 does not define it automatically:
54 Ones defined so far include vax, m68000, ns16000, pyramid,
55 orion, tahoe, APOLLO and many others */
57 /* /bin/cc on ncl_el and ncl_mr define m68k and mc68000 */
59 /* Use type int rather than a union, to represent Lisp_Object */
60 /* This is desirable for most machines. */
64 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
65 the 24-bit bit field into an int. In other words, if bit fields
68 If you use NO_UNION_TYPE, this flag does not matter. */
70 #define EXPLICIT_SIGN_EXTEND
72 /* Data type of load average, as read out of kmem. */
74 #define LOAD_AVE_TYPE long
76 /* Convert that into an integer that is 100 for a load average of 1.0 */
79 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
81 /* Define CANNOT_DUMP on machines where unexec does not work.
82 Then the function dump-emacs will not be defined
83 and temacs will do (load "loadup") automatically unless told otherwise. */
85 /*#define CANNOT_DUMP /**/
87 /* Define VIRT_ADDR_VARIES if the virtual addresses of
88 pure and impure space as loaded can vary, and even their
89 relative order cannot be relied on.
91 Otherwise Emacs assumes that text space precedes data space,
94 /* #define VIRT_ADDR_VARIES /**/
96 /* Define C_ALLOCA if this machine does not support a true alloca
97 and the one written in C should be used instead.
98 Define HAVE_ALLOCA to say that the system provides a properly
99 working alloca function and it should be used.
100 Define neither one if an assembler-language alloca
101 in the file alloca.s should be used. */
104 /* #define HAVE_ALLOCA /**/
106 /* Define NO_REMAP if memory segmentation makes it not work well
107 to change the boundary between the text section and data section
108 when Emacs is dumped. If you define this, the preloaded Lisp
109 code will not be sharable; but that's better than failing completely. */
114 * end of the standard macro's
118 * a neat identifier to handle source mods (if needed)
124 /* Disable support for shared libraries in unexec. */
126 #undef USG_SHARED_LIBRARIES
129 * if we use X11, libX11.a has these...
132 # define LIB_X11_LIB -lX11
133 # undef LIBX11_SYSTEM
134 # define LIBX11_SYSTEM -lmalloc -lnsl
139 * we must have INET loaded so we have sockets
141 # define HAVE_SOCKETS
144 * useful if you have INET loaded
146 # define LIBS_MACHINE -linet
149 #if (defined(ncl_mr) || defined(ncl_el)) && !defined (NBPC)
154 * if SIGIO is defined, much of the emacs
155 * code assumes we are BSD !!
163 * a good idea on multi-user systems :-)
165 #define CLASH_DETECTION /* probably a good idea */
170 * sysdep.c(sys_suspend) works fine with emacs-18.58
171 * and BOS 02.00.45, if you have an earler version
172 * of Emacs and/or BOS, or have problems, or just prefer
173 * to start a sub-shell rather than suspend-emacs,
174 * un-comment out the next line.
176 /* # undef SIGTSTP /* make suspend-emacs spawn a sub-shell */
177 # ifdef NOMULTIPLEJOBS
178 # undef NOMULTIPLEJOBS
182 * no we don't want this at all
191 #define GETPGRP_NO_ARG
193 /* select also needs this header file--but not in ymakefile. */
195 #include <sys/types.h>
196 #include <sys/select.h>
202 * Define the direction of stack growth.
205 #define STACK_DIRECTION -1
207 /* we have termios */
212 /* we also have this */
216 /* It doesn't seem we have sigpause */
217 #undef HAVE_SYSV_SIGPAUSE
220 /* on bos2.00.45 there is a bug that makes the F_SETOWN fcntl() call
221 enters in an infinite loop. Avoid calling it */
224 /* system closedir sometimes complains about wrong descriptor
225 for no apparent reasons. Use the provided closedir in sysdep.c instead */
230 /* Send signals to subprocesses by "typing" signal chars at them. */
231 #define SIGNALS_VIA_CHARACTERS