1 /* amdahl machine description file
2 Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004,
3 2005, 2006, 2007 Free Software Foundation, Inc.
5 This file is part of GNU Emacs.
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
9 the Free Software Foundation; either version 3, or (at your option)
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.
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
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
23 This file for amdahl_uts created by modifying the template.h
24 by Jishnu Mukerji 3/1/87
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"
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.
34 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
35 is the most significant byte. */
37 #define WORDS_BIG_ENDIAN
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. */
44 /* Define WORD_MACHINE if addresses and such have
45 * to be corrected before they can be used as byte counts. */
47 #define WORD_MACHINE /* not actually used anywhere yet! */
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. */
54 /* uts gets defined automatically */
55 /* However for clarity define amdahl_uts */
58 /* Use type int rather than a union, to represent Lisp_Object */
59 /* This is desirable for most machines. */
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
67 If you use NO_UNION_TYPE, this flag does not matter. */
69 #define EXPLICIT_SIGN_EXTEND
71 /* Data type of load average, as read out of kmem. */
73 /* #define LOAD_AVE_TYPE long*/
75 /* Convert that into an integer that is 100 for a load average of 1.0 */
77 /*#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0)*/
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. */
83 /* #define CANNOT_DUMP
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.
89 Otherwise Emacs assumes that text space precedes data space,
92 /* #define VIRT_ADDR_VARIES*/
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. */
103 /* The usual definition of XINT, which involves shifting, does not
104 sign-extend properly on this machine. */
106 #define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \
107 ? (sign_extend_temp | 0xFF000000) \
108 : (sign_extend_temp & 0x00FFFFFF))
110 #ifdef emacs /* Don't do this when making xmakefile! */
111 extern int sign_extend_temp
;
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 */
118 #define START_FILES pre-crt0.o /lib/crt0.o
121 /* Perhaps this means that the optimizer isn't safe to use. */
123 #define C_OPTIMIZE_SWITCH
125 /* Put text and data on non-segment boundary; makes image smaller */
127 #define LD_SWITCH_MACHINE -N
129 /* When writing the 'xemacs' file, make text segment ro */
130 #define EXEC_MAGIC 0410
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)
136 /* Compensate for error in signal.h. */
137 #define NSIG_MINIMUM 20
139 /* arch-tag: cf665976-ddb1-49b0-b383-371e17f36acf
140 (do not change this comment) */