root/trunk/src/m/alliant.h

Revision 4220, 4.4 kB (checked in by miyoshi, 8 months ago)

Sync up with Emacs22.2.

  • Property svn:eol-style set to native
Line 
1 /* alliant.h  Alliant machine running system version 2 or 3.
2    Copyright (C) 1985, 1986, 1987, 2001, 2002, 2003, 2004,
3                  2005, 2006, 2007, 2008  Free Software Foundation, Inc.
4    Note that for version 1 of the Alliant system
5    you should use alliant1.h instead of this file.
6    Use alliant4.h for version 4.
7
8 This file is part of GNU Emacs.
9
10 GNU Emacs is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3, or (at your option)
13 any later version.
14
15 GNU Emacs is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with GNU Emacs; see the file COPYING.  If not, write to
22 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 Boston, MA 02110-1301, USA.  */
24
25 /* The following line tells the configuration script what sort of
26    operating system this machine is likely to run.
27    USUAL-OPSYS="bsd4-2"  */
28
29 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
30    is the most significant byte.  */
31
32 #define WORDS_BIG_ENDIAN
33
34 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
35  * group of arguments and treat it as an array of the arguments.  */
36
37 #ifdef ALLIANT_1
38 #define NO_ARG_ARRAY
39 #endif
40
41 /* Define WORD_MACHINE if addresses and such have
42  * to be corrected before they can be used as byte counts.  */
43
44 #undef WORD_MACHINE
45
46 /* Now define a symbol for the cpu type, if your compiler
47    does not define it automatically:
48    vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
49    are the ones defined so far.  */
50
51 #define ALLIANT
52
53 /* Use type int rather than a union, to represent Lisp_Object */
54 /* This is desirable for most machines.  */
55
56 #define NO_UNION_TYPE
57
58 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
59    the 24-bit bit field into an int.  In other words, if bit fields
60    are always unsigned.
61
62    If you use NO_UNION_TYPE, this flag does not matter.  */
63 /* On Alliants, bitfields are unsigned. */
64
65 #define EXPLICIT_SIGN_EXTEND
66
67 /* No load average information available for Alliants. */
68
69 #undef LOAD_AVE_TYPE
70 #undef LOAD_AVE_CVT
71
72 /* Define CANNOT_DUMP on machines where unexec does not work.
73    Then the function dump-emacs will not be defined
74    and temacs will do (load "loadup") automatically unless told otherwise.  */
75
76 #undef CANNOT_DUMP
77
78 /* Define VIRT_ADDR_VARIES if the virtual addresses of
79    pure and impure space as loaded can vary, and even their
80    relative order cannot be relied on.
81
82    Otherwise Emacs assumes that text space precedes data space,
83    numerically.  */
84
85 #undef VIRT_ADDR_VARIES
86
87 /* Define C_ALLOCA if this machine does not support a true alloca
88    and the one written in C should be used instead.
89    Define HAVE_ALLOCA to say that the system provides a properly
90    working alloca function and it should be used.
91    Define neither one if an assembler-language alloca
92    in the file alloca.s should be used.  */
93
94 #undef C_ALLOCA
95 #define HAVE_ALLOCA
96
97 #ifdef ALLIANT_1
98 #define C_ALLOCA
99 #undef HAVE_ALLOCA
100 #endif /* ALLIANT_1 */
101
102 /* Define NO_REMAP if memory segmentation makes it not work well
103    to change the boundary between the text section and data section
104    when Emacs is dumped.  If you define this, the preloaded Lisp
105    code will not be sharable; but that's better than failing completely.  */
106 /* Actually, Alliant CONCENTRIX does paging "right":
107    data pages are copy-on-write, which means that the pure data areas
108    are shared automatically and remapping is not necessary.  */
109
110 #define NO_REMAP
111
112 /* Alliant needs special crt0.o because system version is not reentrant */
113
114 #define START_FILES crt0.o
115
116 /* Alliant dependent code for dumping executing image.
117    See crt0.c code for alliant.  */
118
119 #define ADJUST_EXEC_HEADER {\
120 extern int _curbrk, _setbrk;\
121 _setbrk = _curbrk;\
122 hdr.a_bss_addr = bss_start;\
123 unexec_text_start = hdr.a_text_addr;}
124
125 /* cc screws up on long names.  Try making cpp replace them.  */
126
127 #ifdef ALLIANT_1
128 #define Finsert_abbrev_table_description Finsert_abbrev_table_descrip
129 #define internal_with_output_to_temp_buffer internal_with_output_to_tem
130 #endif
131
132 /* "vector" is a typedef in /usr/include/machine/reg.h, so its use as
133    a variable name causes errors when compiling under ANSI C.  */
134
135 #define vector xxvector
Note: See TracBrowser for help on using the browser.