Mercurial > emacs
comparison src/m/iris4d.h @ 88155:d7ddb3e565de
sync with trunk
author | Henrik Enberg <henrik.enberg@telia.com> |
---|---|
date | Mon, 16 Jan 2006 00:03:54 +0000 |
parents | 4be8406ebef9 |
children |
comparison
equal
deleted
inserted
replaced
88154:8ce476d3ba36 | 88155:d7ddb3e565de |
---|---|
1 /* machine description file for Iris-4D machines. Use with s/irix*.h. | 1 /* machine description file for Iris-4D machines. Use with s/irix*.h. |
2 Copyright (C) 1987, 2002 Free Software Foundation, Inc. | 2 Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GNU Emacs. | 4 This file is part of GNU Emacs. |
5 | 5 |
6 GNU Emacs is free software; you can redistribute it and/or modify | 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 | 7 it under the terms of the GNU General Public License as published by |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 GNU General Public License for more details. | 14 GNU General Public License for more details. |
15 | 15 |
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with GNU Emacs; see the file COPYING. If not, write to | 17 along with GNU Emacs; see the file COPYING. If not, write to |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 Boston, MA 02111-1307, USA. */ | 19 Boston, MA 02110-1301, USA. */ |
20 | 20 |
21 | 21 |
22 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | 22 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23 is the most significant byte. */ | 23 is the most significant byte. */ |
24 | 24 |
157 if system supports pty's. 'a' means it is /dev/ptya0 */ | 157 if system supports pty's. 'a' means it is /dev/ptya0 */ |
158 | 158 |
159 #undef FIRST_PTY_LETTER | 159 #undef FIRST_PTY_LETTER |
160 #define FIRST_PTY_LETTER 'q' | 160 #define FIRST_PTY_LETTER 'q' |
161 | 161 |
162 #ifndef _LP64 | 162 #if _MIPS_SZLONG != 64 |
163 /* fixme: should there be 64-bit defiitions? (The ones below aren't | |
164 OK.) */ | |
165 | |
163 /* The standard definitions of these macros would work ok, | 166 /* The standard definitions of these macros would work ok, |
164 but these are faster because the constants are short. */ | 167 but these are faster because the constants are short. */ |
165 | 168 |
166 #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) | 169 #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) |
167 | 170 |
168 #define XSET(var, type, ptr) \ | 171 #define XSET(var, type, ptr) \ |
169 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) | 172 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) |
170 | |
171 #define XUNMARK(a) ((a) = (((unsigned)(a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) | |
172 #endif /* _LP64 */ | 173 #endif /* _LP64 */ |
173 | 174 |
174 #ifndef __GNUC__ | 175 #ifndef __GNUC__ |
175 /* Turn off some "helpful" error checks for type mismatches | 176 /* Turn off some "helpful" error checks for type mismatches |
176 that we can't fix without breaking other machines. */ | 177 that we can't fix without breaking other machines. */ |
183 #endif | 184 #endif |
184 #endif | 185 #endif |
185 #endif | 186 #endif |
186 | 187 |
187 #endif /* not __GNUC__ */ | 188 #endif /* not __GNUC__ */ |
189 | |
190 /* arch-tag: fff5e139-9ae0-465d-afec-837c41ea0aa6 | |
191 (do not change this comment) */ |