|
|
1.1 root 1: /* m-alliant.h Alliant machine running system version 2 or 3.
2: Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
3: Note that for version 1 of the Alliant system
4: you should use m-alliant1.h instead of this file.
5: Use m-alliant4.h for version 4.
6:
7: This file is part of GNU Emacs.
8:
9: GNU Emacs is distributed in the hope that it will be useful,
10: but WITHOUT ANY WARRANTY. No author or distributor
11: accepts responsibility to anyone for the consequences of using it
12: or for whether it serves any particular purpose or works at all,
13: unless he says so in writing. Refer to the GNU Emacs General Public
14: License for full details.
15:
16: Everyone is granted permission to copy, modify and redistribute
17: GNU Emacs, but only under the conditions described in the
18: GNU Emacs General Public License. A copy of this license is
19: supposed to have been given to you along with GNU Emacs so you
20: can know your rights and responsibilities. It should be in a
21: file named COPYING. Among other things, the copyright notice
22: and this notice must be preserved on all copies. */
23:
24:
25: /* The following three symbols give information on
26: the size of various data types. */
27:
28: #define SHORTBITS 16 /* Number of bits in a short */
29:
30: #define INTBITS 32 /* Number of bits in an int */
31:
32: #define LONGBITS 32 /* Number of bits in a long */
33:
34: /* Define BIG_ENDIAN iff lowest-numbered byte in a word
35: is the most significant byte. */
36:
37: #define BIG_ENDIAN
38:
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: #ifdef ALLIANT_1
43: #define NO_ARG_ARRAY
44: #endif
45:
46: /* Define WORD_MACHINE if addresses and such have
47: * to be corrected before they can be used as byte counts. */
48:
49: #undef WORD_MACHINE
50:
51: /* Define how to take a char and sign-extend into an int.
52: On machines where char is signed, this is a no-op. */
53:
54: #define SIGN_EXTEND_CHAR(c) (c)
55:
56: /* Now define a symbol for the cpu type, if your compiler
57: does not define it automatically:
58: vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
59: are the ones defined so far. */
60:
61: #define ALLIANT
62:
63: /* Use type int rather than a union, to represent Lisp_Object */
64: /* This is desirable for most machines. */
65:
66: #define NO_UNION_TYPE
67:
68: /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
69: the 24-bit bit field into an int. In other words, if bit fields
70: are always unsigned.
71:
72: If you use NO_UNION_TYPE, this flag does not matter. */
73: /* On Alliants, bitfields are unsigned. */
74:
75: #define EXPLICIT_SIGN_EXTEND
76:
77: /* No load average information available for Alliants. */
78:
79: #undef LOAD_AVE_TYPE
80: #undef LOAD_AVE_CVT
81:
82: /* Define CANNOT_DUMP on machines where unexec does not work.
83: Then the function dump-emacs will not be defined
84: and temacs will do (load "loadup") automatically unless told otherwise. */
85:
86: #undef CANNOT_DUMP
87:
88: /* Define VIRT_ADDR_VARIES if the virtual addresses of
89: pure and impure space as loaded can vary, and even their
90: relative order cannot be relied on.
91:
92: Otherwise Emacs assumes that text space precedes data space,
93: numerically. */
94:
95: #undef VIRT_ADDR_VARIES
96:
97: /* Define C_ALLOCA if this machine does not support a true alloca
98: and the one written in C should be used instead.
99: Define HAVE_ALLOCA to say that the system provides a properly
100: working alloca function and it should be used.
101: Define neither one if an assembler-language alloca
102: in the file alloca.s should be used. */
103:
104: #undef C_ALLOCA
105: #define HAVE_ALLOCA
106:
107: #ifdef ALLIANT_1
108: #define C_ALLOCA
109: #undef HAVE_ALLOCA
110: #endif /* ALLIANT_1 */
111:
112: /* Define NO_REMAP if memory segmentation makes it not work well
113: to change the boundary between the text section and data section
114: when Emacs is dumped. If you define this, the preloaded Lisp
115: code will not be sharable; but that's better than failing completely. */
116: /* Actually, Alliant CONCENTRIX does paging "right":
117: data pages are copy-on-write, which means that the pure data areas
118: are shared automatically and remapping is not necessary. */
119:
120: #define NO_REMAP
121:
122: /* Alliant needs special crt0.o because system version is not reentrant */
123:
124: #define START_FILES crt0.o
125:
126: /* Alliant dependent code for dumping executing image.
127: See crt0.c code for alliant. */
128:
129: #define ADJUST_EXEC_HEADER {\
130: extern int _curbrk, _setbrk;\
131: _setbrk = _curbrk;\
132: hdr.a_bss_addr = bss_start;\
133: unexec_text_start = hdr.a_text_addr;}
134:
135: /* cc screws up on long names. Try making cpp replace them. */
136:
137: #ifdef ALLIANT_1
138: #define Finsert_abbrev_table_description Finsert_abbrev_table_descrip
139: #define internal_with_output_to_temp_buffer internal_with_output_to_tem
140: #endif
141:
142: /* "vector" is a typedef in /usr/include/machine/reg.h, so its use as
143: a variable name causes errors when compiling under ANSI C. */
144:
145: #define vector xxvector
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.