comparison src/m/intel386.h @ 91367:c70e45a7acfd

Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
author Miles Bader <miles@gnu.org>
date Wed, 30 Jan 2008 07:57:28 +0000
parents 606f2d163a64 36e4ffad31fe
children
comparison
equal deleted inserted replaced
91366:86f3a8f0a3a6 91367:c70e45a7acfd
83 83
84 /* crt0.c should define a symbol `start' and do .globl with a dot. */ 84 /* crt0.c should define a symbol `start' and do .globl with a dot. */
85 85
86 #define DOT_GLOBAL_START 86 #define DOT_GLOBAL_START
87 87
88 #ifdef XENIX
89 /* Data type of load average, as read out of kmem. */
90 #define LOAD_AVE_TYPE short
91
92 /* Convert that into an integer that is 100 for a load average of 1.0 */
93 #define LOAD_AVE_CVT(x) (((double) (x)) * 100.0 / FSCALE)
94
95 #define FSCALE 256.0 /* determined by experimentation... */
96 #endif
97
98
99 #ifdef SOLARIS2 88 #ifdef SOLARIS2
100 /* Data type of load average, as read out of kmem. */ 89 /* Data type of load average, as read out of kmem. */
101 #define LOAD_AVE_TYPE long 90 #define LOAD_AVE_TYPE long
102 91
103 /* Convert that into an integer that is 100 for a load average of 1.0 */ 92 /* Convert that into an integer that is 100 for a load average of 1.0 */
151 Otherwise Emacs assumes that text space precedes data space, 140 Otherwise Emacs assumes that text space precedes data space,
152 numerically. */ 141 numerically. */
153 142
154 /* #define VIRT_ADDR_VARIES */ 143 /* #define VIRT_ADDR_VARIES */
155 144
156 #ifdef XENIX
157 /* Define NO_REMAP if memory segmentation makes it not work well
158 to change the boundary between the text section and data section
159 when Emacs is dumped. If you define this, the preloaded Lisp
160 code will not be sharable; but that's better than failing completely. */
161
162 #define NO_REMAP
163
164 /* Since cannot purify, use standard Xenix 386 startup code. */
165
166 #define START_FILES /lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o
167
168 /* These really use terminfo. */
169
170 #define LIBS_TERMCAP /lib/386/Slibcurses.a \
171 /lib/386/Slibtinfo.a /lib/386/Slibx.a
172
173 /* Standard libraries for this machine. Since `-l' doesn't work in `ld'. */
174 /* '__fltused' is unresolved w/o Slibcfp.a */
175 #define LIB_STANDARD /lib/386/Slibcfp.a /lib/386/Slibc.a
176 #else /* not XENIX */
177
178 /* this brings in alloca() if we're using cc */ 145 /* this brings in alloca() if we're using cc */
179 #ifdef USG 146 #ifdef USG
180 #ifndef LIB_STANDARD 147 #ifndef LIB_STANDARD
181 #ifdef USG5_4 148 #ifdef USG5_4
182 #define LIB_STANDARD -lc 149 #define LIB_STANDARD -lc
186 #endif /* LIB_STANDARD */ 153 #endif /* LIB_STANDARD */
187 154
188 #define NO_REMAP 155 #define NO_REMAP
189 #define TEXT_START 0 156 #define TEXT_START 0
190 #endif /* USG */ 157 #endif /* USG */
191 #endif /* not XENIX */
192 158
193 #ifdef USG5_4 159 #ifdef USG5_4
194 #define DATA_SEG_BITS 0x08000000 160 #define DATA_SEG_BITS 0x08000000
195 #endif 161 #endif
196 162