annotate src/m/delta.h @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents a86b2b5e0111
children 697ef44129c6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* Machine description file for the Motorola Delta.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Tested on mvme147 board using R3V7 without X. Tested with gcc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 Copyright (C) 1986, 1993, 1994 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 This file is part of GNU Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 GNU Emacs is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 along with XEmacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 Boston, MA 02111-1307, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 /* Synched up with: FSF 19.31. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 /* The following line tells the configuration script what sort of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 operating system this machine is likely to run.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 USUAL-OPSYS="usg5-3" */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 /* Now define a symbol for the cpu type, if your compiler
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 does not define it automatically:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 Ones defined so far include vax, m68000, ns16000, pyramid,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 orion, tahoe, APOLLO and many others */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 #define m68000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 #define MOTOROLA_DELTA
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 /* Data type of load average, as read out of kmem. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 /* #define LOAD_AVE_TYPE long */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 /* Convert that into an integer that is 100 for a load average of 1.0 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 /* Define CANNOT_DUMP on machines where unexec does not work.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 Then the function dump-emacs will not be defined
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 and temacs will do (load "loadup") automatically unless told otherwise. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 /* #define CANNOT_DUMP */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 /* Define VIRT_ADDR_VARIES if the virtual addresses of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 pure and impure space as loaded can vary, and even their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 relative order cannot be relied on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 Otherwise Emacs assumes that data space precedes text space,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 numerically. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 /* #define VIRT_ADDR_VARIES */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 /* Define C_ALLOCA if this machine does not support a true alloca
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 and the one written in C should be used instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 Define HAVE_ALLOCA to say that the system provides a properly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 working alloca function and it should be used.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 Define neither one if an assembler-language alloca
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 in the file alloca.s should be used. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 /* #define C_ALLOCA */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 /* #define HAVE_ALLOCA */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 /* Define NO_REMAP if memory segmentation makes it not work well
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 to change the boundary between the text section and data section
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 when Emacs is dumped. If you define this, the preloaded Lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 code will not be sharable; but that's better than failing completely. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 #define NO_REMAP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 /* Machine specific stuff */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 #define HAVE_PTYS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 #define SYSV_PTYS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 #define memmove(t,f,s) safe_bcopy(f,t,s) /* for overlapping copies */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 #undef KERNEL_FILE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 #define KERNEL_FILE "/sysv68"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 #undef LDAV_SYMBOL
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 /* The standard C library is -lc881, not -lc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 DO NOT USE -lPW. That version of alloca is broken in versions R3V5,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
91 #define LIB_STANDARD "-lc881"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
92 #define LIB_MATH "-lm881"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
93 #define LIBS_TERMCAP "-lcurses"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
94 #define LIBS_SYSTEM "-lbsd"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 #ifdef HAVE_X_WINDOWS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 # define HAVE_RANDOM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 # define HAVE_XSCREENNUMBEROFSCREEN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 # undef LIB_X11_LIB /* no shared libraries */
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
100 # define LIB_X11_LIB "-lX11"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 # undef USG_SHARED_LIBRARIES /* once again, no shared libs */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 # undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
103 # define LIBX11_SYSTEM "-lnls -lnsl_s"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 #endif /* HAVE_X_WINDOWS */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 #ifdef __GNUC__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 /* Use builtin alloca. Also be sure that no other ones are tried out. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 # define alloca __builtin_alloca
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 # define HAVE_ALLOCA
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 /* We are assuming here that the `true' GNU gcc has not been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 installed, and we are using the gnucc provided by Motorola. No
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 support exists for compiling with GNU gcc, as I do not have it on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 my machine to try it out. -pot@cnuce.cnr.it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 If __STDC__ is defined gnucc has been called without the -traditional
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 option, that is, we are inside configure. If THIS_IS_CONFIGURE is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 not defined, then configure is trying to figure out what the right
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 option for real compilation are.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 Let us set -traditional, because gmalloc.c includes <stddef.h>, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 we don't have that (as of SYSV68 R3V7). */
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
121 # define C_SWITCH_MACHINE "-mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
122 # define LIB_GCC "/lib/gnulib881"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 /* Not __GNUC__, use the alloca in alloca.s. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 /* Try to guess if we are using the Green Hills Compiler */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 # if defined mc68000 && defined MC68000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 /* Required only for use with Green Hills compiler:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 -ga Because alloca relies on stack frames. This option forces
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 the Green Hills compiler to create stack frames even for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 functions with few local variables. */
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 2
diff changeset
133 # define C_SWITCH_MACHINE "-ga -O"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 # define BCOPY_UPWARD_SAFE 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 # define BCOPY_DOWNWARD_SAFE 1 /* bcopy does: mov.b (%a1)+,(%a0)+ */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 # else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 /* We are using the standard AT&T Portable C Compiler */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 # define SWITCH_ENUM_BUG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 # endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 #endif /* not __GNUC__ */
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
143
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
144 #ifdef HAVE_INET_SOCKETS /* this comes from autoconf */
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
145 # define HAVE_SOCKETS /* NSE may or may not have been installed */
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
146 #endif