1/* amdahl machine description file
2   Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004,
3                 2005, 2006, 2007  Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs; see the file COPYING.  If not, write to
19the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, USA.  */
21
22/*
23This file for amdahl_uts created by modifying the template.h
24by Jishnu Mukerji 3/1/87
25
26The following line tells the configuration script what sort of
27operating system this machine is likely to run.
28USUAL-OPSYS="usg5-2-2"
29
30This file works with the Amdahl uts native C compiler. The 5.2u370
31compiler is so brain damaged that it is not even worth trying to use it.
32*/
33
34/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
35   is the most significant byte.  */
36
37#define WORDS_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#undef NO_ARG_ARRAY
43
44/* Define WORD_MACHINE if addresses and such have
45 * to be corrected before they can be used as byte counts.  */
46
47#define WORD_MACHINE /* not actually used anywhere yet! */
48
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.  */
53
54/* uts gets defined automatically */
55/* However for clarity define amdahl_uts */
56#define amdahl_uts
57
58/* Use type int rather than a union, to represent Lisp_Object */
59/* This is desirable for most machines.  */
60
61#define NO_UNION_TYPE
62
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
65   are always unsigned.
66
67   If you use NO_UNION_TYPE, this flag does not matter.  */
68
69#define EXPLICIT_SIGN_EXTEND
70
71/* Data type of load average, as read out of kmem.  */
72
73/* #define LOAD_AVE_TYPE long*/
74
75/* Convert that into an integer that is 100 for a load average of 1.0  */
76
77/*#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0)*/
78
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.  */
82
83/* #define CANNOT_DUMP
84
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.
88
89   Otherwise Emacs assumes that text space precedes data space,
90   numerically.  */
91
92/* #define VIRT_ADDR_VARIES*/
93
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.  */
98
99/*#define NO_REMAP*/
100
101#define TERMINFO
102
103/* The usual definition of XINT, which involves shifting, does not
104   sign-extend properly on this machine.  */
105
106#define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \
107		 ? (sign_extend_temp | 0xFF000000) \
108		 : (sign_extend_temp & 0x00FFFFFF))
109
110#ifdef emacs /* Don't do this when making xmakefile! */
111extern int sign_extend_temp;
112#endif
113
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 */
116
117#ifndef NO_REMAP
118#define START_FILES pre-crt0.o /lib/crt0.o
119#endif
120
121/* Perhaps this means that the optimizer isn't safe to use.  */
122
123#define C_OPTIMIZE_SWITCH
124
125/* Put text and data on non-segment boundary; makes image smaller */
126
127#define LD_SWITCH_MACHINE	-N
128
129/* When writing the 'xemacs' file, make text segment ro */
130#define EXEC_MAGIC	0410
131
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)
135
136/* Compensate for error in signal.h.  */
137#define NSIG_MINIMUM 20
138
139/* arch-tag: cf665976-ddb1-49b0-b383-371e17f36acf
140   (do not change this comment) */
141