Mercurial > emacs
annotate src/m/amdahl.h @ 90387:0aa60bfbc7ce
(USE_ATSUI): Don't enable on emacs-unicode-2 branch.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Tue, 02 May 2006 08:50:21 +0000 |
parents | c5406394f567 |
children | 95d0cdf160ea |
rev | line source |
---|---|
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48429
diff
changeset
|
1 /* amdahl machine description file |
64767
11814686b09f
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
2 Copyright (C) 1987, 1999, 2002, 2003, 2004, |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
3 2005, 2006 Free Software Foundation, Inc. |
456 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
3699 | 9 the Free Software Foundation; either version 2, or (at your option) |
456 | 10 any later version. |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
64083 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
456 | 21 |
22 /* | |
23 This file for amdahl_uts created by modifying the template.h | |
24 by Jishnu Mukerji 3/1/87 | |
25 | |
26 The following line tells the configuration script what sort of | |
27 operating system this machine is likely to run. | |
28 USUAL-OPSYS="usg5-2-2" | |
29 | |
30 This file works with the Amdahl uts native C compiler. The 5.2u370 | |
31 compiler is so brain damaged that it is not even worth trying to use it. | |
32 */ | |
33 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
34 /* 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
|
35 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
|
36 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
37 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
38 |
456 | 39 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
40 * group of arguments and treat it as an array of the arguments. */ | |
41 | |
42 #undef NO_ARG_ARRAY | |
43 | |
44 /* Define WORD_MACHINE if addresses and such have | |
45 * to be corrected before they can be used as byte counts. */ | |
46 | |
47 #define WORD_MACHINE /* not actually used anywhere yet! */ | |
48 | |
49 /* Now define a symbol for the cpu type, if your compiler | |
50 does not define it automatically: | |
51 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | |
52 are the ones defined so far. */ | |
53 | |
54 /* uts gets defined automatically */ | |
55 /* However for clarity define amdahl_uts */ | |
56 #define amdahl_uts | |
57 | |
58 /* Use type int rather than a union, to represent Lisp_Object */ | |
59 /* This is desirable for most machines. */ | |
60 | |
61 #define NO_UNION_TYPE | |
62 | |
63 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
64 the 24-bit bit field into an int. In other words, if bit fields | |
65 are always unsigned. | |
66 | |
67 If you use NO_UNION_TYPE, this flag does not matter. */ | |
68 | |
69 #define EXPLICIT_SIGN_EXTEND | |
70 | |
71 /* Data type of load average, as read out of kmem. */ | |
72 | |
73 /* #define LOAD_AVE_TYPE long*/ | |
74 | |
75 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
76 | |
77 /*#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0)*/ | |
78 | |
79 /* Define CANNOT_DUMP on machines where unexec does not work. | |
80 Then the function dump-emacs will not be defined | |
81 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
82 | |
83 /* #define CANNOT_DUMP | |
84 | |
85 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
86 pure and impure space as loaded can vary, and even their | |
87 relative order cannot be relied on. | |
88 | |
89 Otherwise Emacs assumes that text space precedes data space, | |
90 numerically. */ | |
91 | |
92 /* #define VIRT_ADDR_VARIES*/ | |
93 | |
94 /* Define NO_REMAP if memory segmentation makes it not work well | |
95 to change the boundary between the text section and data section | |
96 when Emacs is dumped. If you define this, the preloaded Lisp | |
97 code will not be sharable; but that's better than failing completely. */ | |
98 | |
99 /*#define NO_REMAP*/ | |
100 | |
101 #define TERMINFO | |
102 | |
103 /* The usual definition of XINT, which involves shifting, does not | |
104 sign-extend properly on this machine. */ | |
105 | |
106 #define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \ | |
107 ? (sign_extend_temp | 0xFF000000) \ | |
108 : (sign_extend_temp & 0x00FFFFFF)) | |
109 | |
110 #ifdef emacs /* Don't do this when making xmakefile! */ | |
111 extern int sign_extend_temp; | |
112 #endif | |
113 | |
114 /* The following needed to load the proper crt0.o and to get the | |
115 proper declaration of data_start in the #undef NO_REMAP case */ | |
116 | |
117 #ifndef NO_REMAP | |
118 #define START_FILES pre-crt0.o /lib/crt0.o | |
119 #endif | |
120 | |
121 /* Perhaps this means that the optimizer isn't safe to use. */ | |
122 | |
123 #define C_OPTIMIZE_SWITCH | |
124 | |
125 /* Put text and data on non-segment boundary; makes image smaller */ | |
126 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48429
diff
changeset
|
127 #define LD_SWITCH_MACHINE -N |
456 | 128 |
129 /* When writing the 'xemacs' file, make text segment ro */ | |
130 #define EXEC_MAGIC 0410 | |
131 | |
132 /* Mask for address bits within a memory segment */ | |
133 #define SEGSIZ 0x10000 /* Should this not be defined elsewhere ? */ | |
134 #define SEGMENT_MASK (SEGSIZ - 1) | |
135 | |
136 /* Compensate for error in signal.h. */ | |
26089
1a4c3573a216
* m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now.
Paul Eggert <eggert@twinsun.com>
parents:
14186
diff
changeset
|
137 #define NSIG_MINIMUM 20 |
52401 | 138 |
139 /* arch-tag: cf665976-ddb1-49b0-b383-371e17f36acf | |
140 (do not change this comment) */ |