428
|
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
|
|
8 the Free Software Foundation; either version 2, or (at your option)
|
|
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 XEmacs; see the file COPYING. If not, write to
|
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 Boston, MA 02111-1307, USA. */
|
|
20
|
|
21 /* Synched up with: FSF 19.31. */
|
|
22
|
|
23 /* The following line tells the configuration script what sort of
|
|
24 operating system this machine is likely to run.
|
|
25 USUAL-OPSYS="usg5-3" */
|
|
26
|
|
27 /*
|
|
28 * You need to either un-comment one of these lines, or copy one
|
|
29 * of them to config.h before you include this file.
|
|
30 * Note that some simply define a constant and others set a value.
|
|
31 */
|
|
32
|
|
33 /* #define ncl_el /* DPX/2 210,220 etc */
|
|
34 /* #define ncl_mr 1 /* DPX/2 320,340 (and 360,380 ?) */
|
|
35
|
|
36 /* Now define a symbol for the cpu type, if your compiler
|
|
37 does not define it automatically:
|
|
38 Ones defined so far include vax, m68000, ns16000, pyramid,
|
|
39 orion, tahoe, APOLLO and many others */
|
|
40
|
|
41 /* /bin/cc on ncl_el and ncl_mr define m68k and mc68000 */
|
|
42
|
|
43 /* Data type of load average, as read out of kmem. */
|
|
44
|
|
45 #define LOAD_AVE_TYPE long
|
|
46
|
|
47 /* Convert that into an integer that is 100 for a load average of 1.0 */
|
|
48
|
|
49 #define FSCALE 1000.0
|
|
50 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
|
|
51
|
|
52 /* Define NO_REMAP if memory segmentation makes it not work well
|
|
53 to change the boundary between the text section and data section
|
|
54 when Emacs is dumped. If you define this, the preloaded Lisp
|
|
55 code will not be sharable; but that's better than failing completely. */
|
|
56
|
|
57 #define NO_REMAP
|
|
58
|
|
59 /*
|
|
60 * end of the standard macro's
|
|
61 */
|
|
62
|
|
63 /*
|
|
64 * a neat identifier to handle source mods (if needed)
|
|
65 */
|
|
66 #ifndef DPX2
|
|
67 #define DPX2
|
|
68 #endif
|
|
69
|
|
70 /* Disable support for shared libraries in unexec. */
|
|
71
|
|
72 #undef USG_SHARED_LIBRARIES
|
|
73
|
|
74 /*
|
|
75 * if we use X11, libX11.a has these...
|
|
76 */
|
|
77 # undef LIB_X11_LIB
|
|
78 # define LIB_X11_LIB "-lX11"
|
|
79 # undef LIBX11_SYSTEM
|
|
80 # define LIBX11_SYSTEM "-lmalloc -lnsl"
|
|
81
|
|
82 /*
|
|
83 * useful if you have INET loaded
|
|
84 */
|
|
85 # define LIBS_MACHINE "-linet"
|
|
86
|
|
87
|
|
88 #if (defined(ncl_mr) || defined(ncl_el)) && !defined (NBPC)
|
|
89 # define NBPC 4096
|
|
90 #endif
|
|
91
|
|
92 /*
|
|
93 * if SIGIO is defined, much of the emacs
|
|
94 * code assumes we are BSD !!
|
|
95 */
|
|
96 #ifdef SIGIO
|
|
97 #define BROKEN_SIGIO
|
|
98 #endif
|
|
99
|
|
100
|
|
101 #ifdef SIGTSTP
|
|
102 /*
|
|
103 * sysdep.c(sys_suspend) works fine with emacs-18.58
|
|
104 * and BOS 02.00.45, if you have an earler version
|
|
105 * of Emacs and/or BOS, or have problems, or just prefer
|
|
106 * to start a sub-shell rather than suspend-emacs,
|
|
107 * un-comment out the next line.
|
|
108 */
|
|
109 /* # undef SIGTSTP /* make suspend-emacs spawn a sub-shell */
|
|
110 #endif
|
|
111 /*
|
|
112 * no we don't want this at all
|
|
113 */
|
|
114 #ifdef USG_JOBCTRL
|
|
115 # undef USG_JOBCTRL
|
|
116 #endif
|
|
117
|
|
118 /* select also needs this header file--but not in ymakefile. */
|
|
119 #ifndef NOT_C_CODE
|
|
120 #include <sys/types.h>
|
|
121 #include <sys/select.h>
|
|
122 #endif
|
|
123
|
|
124 #define TEXT_START 0
|
|
125
|
|
126 /* on bos2.00.45 there is a bug that makes the F_SETOWN fcntl() call
|
|
127 enters in an infinite loop. Avoid calling it */
|
|
128 #define F_SETOWN_BUG
|
|
129
|
|
130 /* system closedir sometimes complains about wrong descriptor
|
|
131 for no apparent reasons. Use the provided closedir in sysdep.c instead */
|
|
132 #ifdef HAVE_CLOSEDIR
|
|
133 #undef HAVE_CLOSEDIR
|
|
134 #endif
|
|
135
|
|
136 /* This is to prevent memory clobbering on the DPX/2 200. */
|
|
137 #define LD_SWITCH_MACHINE "-N -T32"
|
|
138
|
|
139 /* end of dpx2.h */
|
|
140
|
|
141
|