Mercurial > emacs
annotate src/m/ibmrt.h @ 73464:e3fbddada23e
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 22 Oct 2006 22:32:43 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
1 /* RTPC machine dependent defines |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
2 Copyright (C) 1986, 2002, 2003, 2004, 2005, |
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
3 2006 Free Software Foundation, Inc. |
446 | 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) |
446 | 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. */ | |
446 | 21 |
22 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
23 /* The following line tells the configuration script what sort of |
446 | 24 operating system this machine is likely to run. |
25 USUAL-OPSYS="bsd4-2" */ | |
26 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
27 /* 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
|
28 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
|
29 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
30 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
31 |
446 | 32 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
33 * group of arguments and treat it as an array of the arguments. */ | |
34 | |
35 #define NO_ARG_ARRAY | |
36 | |
37 /* Define WORD_MACHINE if addresses and such have | |
38 * to be corrected before they can be used as byte counts. */ | |
39 | |
40 #define WORD_MACHINE | |
41 | |
42 /* Now define a symbol for the cpu type, if your compiler | |
43 does not define it automatically. */ | |
44 | |
45 #define ibmrt | |
46 #define romp /* unfortunately old include files are hanging around. */ | |
47 | |
48 /* Use type int rather than a union, to represent Lisp_Object */ | |
49 /* This is desirable for most machines. */ | |
50 | |
51 #define NO_UNION_TYPE | |
52 | |
53 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
10362
f145d62266f6
(VALBITS, GCTYPEBITS): Deleted; default is better.
Karl Heuer <kwzh@gnu.org>
parents:
9095
diff
changeset
|
54 the bit field into an int. In other words, if bit fields |
446 | 55 are always unsigned. |
56 | |
57 If you use NO_UNION_TYPE, this flag does not matter. */ | |
58 | |
59 #define EXPLICIT_SIGN_EXTEND | |
60 | |
61 /* Data type of load average, as read out of kmem. */ | |
62 | |
63 #define LOAD_AVE_TYPE double /* For AIS (sysV) */ | |
64 | |
65 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
66 | |
67 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) | |
68 | |
69 /* Define CANNOT_DUMP on machines where unexec does not work. | |
70 Then the function dump-emacs will not be defined | |
71 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
72 | |
73 /* #define CANNOT_DUMP */ | |
74 | |
75 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
76 pure and impure space as loaded can vary, and even their | |
77 relative order cannot be relied on. | |
78 | |
79 Otherwise Emacs assumes that text space precedes data space, | |
80 numerically. */ | |
81 | |
82 #undef VIRT_ADDR_VARIES | |
83 | |
84 /* The data segment in this machine starts at a fixed address. | |
85 An address of data cannot be stored correctly in a Lisp object; | |
86 we always lose the high bits. We must tell XPNTR to add them back. */ | |
87 | |
88 #define DATA_SEG_BITS 0x10000000 | |
89 #define DATA_START 0x10000000 | |
90 | |
91 /* The text segment always starts at a fixed address. | |
92 This way we don't need to have a label _start defined. */ | |
93 #define TEXT_START 0 | |
94 | |
95 /* Taking a pointer to a char casting it as int pointer */ | |
96 /* and then taking the int which the int pointer points to */ | |
97 /* is practically guaranteed to give erroneous results */ | |
98 | |
99 #define NEED_ERRNO | |
100 | |
101 #define SKTPAIR | |
102 | |
103 /* BSD has BSTRING. */ | |
104 | |
105 #define BSTRING | |
106 | |
107 /* Special switches to give the C compiler. */ | |
108 | |
3244
dc032025eb62
(C_SWITCH_MACHINE): Define only if not __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
109 #ifndef __GNUC__ |
446 | 110 #define C_SWITCH_MACHINE -Dalloca=_Alloca |
3244
dc032025eb62
(C_SWITCH_MACHINE): Define only if not __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
111 #endif |
446 | 112 |
113 /* Don't attempt to relabel some of the data as text when dumping. | |
114 It does not work because their virtual addresses are not consecutive. | |
115 This enables us to use the standard crt0.o. */ | |
116 | |
117 #define NO_REMAP | |
3246 | 118 |
3247
eab748cfcf49
(EMACS_BITMAP_FILES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3246
diff
changeset
|
119 /* Use the bitmap files that come with Emacs. */ |
eab748cfcf49
(EMACS_BITMAP_FILES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3246
diff
changeset
|
120 #define EMACS_BITMAP_FILES |
52401 | 121 |
122 /* arch-tag: 89aa7e7d-593e-432c-966a-3db6aa2ad665 | |
123 (do not change this comment) */ |