root/trunk/src/m/amdahl.h

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

Sync up with Emacs22.2.

  • Property svn:eol-style set to native
Line 
1 /* amdahl machine description file
2    Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004,
3                  2005, 2006, 2007, 2008  Free Software Foundation, Inc.
4
5 This file is part of GNU Emacs.
6
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)
10 any later version.
11
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.
16
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.  */
21
22 /*
23 This file for amdahl_uts created by modifying the template.h
24 by Jishnu Mukerji 3/1/87
25
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"
29
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.
32 */
33
34 /* Define WORDS_BIG_ENDIAN if 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 C_ALLOCA if this machine does not support a true alloca
95    and the one written in C should be used instead.
96    Define HAVE_ALLOCA to say that the system provides a properly
97    working alloca function and it should be used.
98    Define neither one if an assembler-language alloca
99    in the file alloca.s should be used.  */
100
101 #define C_ALLOCA
102 /*#define HAVE_ALLOCA */
103
104 #ifdef HAVE_ALLOCA
105 #define LIB_STANDARD -lPW -lc
106 #endif
107
108 /* Define NO_REMAP if memory segmentation makes it not work well
109    to change the boundary between the text section and data section
110    when Emacs is dumped.  If you define this, the preloaded Lisp
111    code will not be sharable; but that's better than failing completely.  */
112
113 /*#define NO_REMAP*/
114
115 #define TERMINFO
116
117 /* The usual definition of XINT, which involves shifting, does not
118    sign-extend properly on this machine.  */
119
120 #define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \
121                  ? (sign_extend_temp | 0xFF000000) \
122                  : (sign_extend_temp & 0x00FFFFFF))
123
124 #ifdef emacs /* Don't do this when making xmakefile! */
125 extern int sign_extend_temp;
126 #endif
127
128 /* The following needed to load the proper crt0.o and to get the
129    proper declaration of data_start in the #undef NO_REMAP case */
130
131 #ifndef NO_REMAP
132 #define START_FILES pre-crt0.o /lib/crt0.o
133 #endif
134
135 /* Perhaps this means that the optimizer isn't safe to use.  */
136
137 #define C_OPTIMIZE_SWITCH
138
139 /* Put text and data on non-segment boundary; makes image smaller */
140
141 #define LD_SWITCH_MACHINE       -N
142
143 /* When writing the 'xemacs' file, make text segment ro */
144 #define EXEC_MAGIC      0410
145
146 /* Mask for address bits within a memory segment */
147 #define SEGSIZ 0x10000          /* Should this not be defined elsewhere ? */
148 #define SEGMENT_MASK (SEGSIZ - 1)
149
150 /* Tell alloca.c which direction stack grows.  */
151 #define STACK_DIRECTION -1
152
153 /* Compensate for error in signal.h.  */
154 #define NSIG_MINIMUM 20
Note: See TracBrowser for help on using the browser.