annotate src/m/sh3el.h @ 87196:67699a8ac2dc

*** empty log message ***
author Glenn Morris <rgm@gnu.org>
date Sun, 09 Dec 2007 02:16:36 +0000
parents 8adb647282d7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74826
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 /* machine description file for sh3el
75227
e90d04cd455a Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 74859
diff changeset
2 Copyright (C) 1985, 1986, 2006, 2007 Free Software Foundation, Inc.
74826
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
78258
6aba169c4b1f Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75227
diff changeset
8 the Free Software Foundation; either version 3, or (at your option)
74826
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 any later version.
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21
84486
8adb647282d7 (C_ALLOCA): Remove references to this.
Glenn Morris <rgm@gnu.org>
parents: 78499
diff changeset
22 /* The following line tells the configuration script what sort of
74826
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 operating system this machine is likely to run.
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25
78499
49b363c28dce Replace `iff' in comments.
Glenn Morris <rgm@gnu.org>
parents: 78258
diff changeset
26 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
74826
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27 is the most significant byte. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 #undef WORDS_BIG_ENDIAN
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 * group of arguments and treat it as an array of the arguments. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34 #define NO_ARG_ARRAY
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 /* Define WORD_MACHINE if addresses and such have
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 * to be corrected before they can be used as byte counts. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 #undef WORD_MACHINE
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 /* Now define a symbol for the cpu type, if your compiler
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 does not define it automatically:
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 Ones defined so far include vax, m68000, ns16000, pyramid,
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 orion, tahoe, APOLLO and many others */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46 /* Use type int rather than a union, to represent Lisp_Object */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 /* This is desirable for most machines. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49 #define NO_UNION_TYPE
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52 the 24-bit bit field into an int. In other words, if bit fields
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
53 are always unsigned.
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
54
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
55 If you use NO_UNION_TYPE, this flag does not matter. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
56
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
57 #define EXPLICIT_SIGN_EXTEND
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
58
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
59 /* Data type of load average, as read out of kmem. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
60
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
61 #define LOAD_AVE_TYPE long
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
62
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
63 /* Convert that into an integer that is 100 for a load average of 1.0 */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
64
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
65 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
66
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
67 /* Define CANNOT_DUMP on machines where unexec does not work.
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
68 Then the function dump-emacs will not be defined
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
69 and temacs will do (load "loadup") automatically unless told otherwise. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
70
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
71 #undef CANNOT_DUMP
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
72
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
73 /* Define VIRT_ADDR_VARIES if the virtual addresses of
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
74 pure and impure space as loaded can vary, and even their
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
75 relative order cannot be relied on.
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
76
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
77 Otherwise Emacs assumes that text space precedes data space,
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
78 numerically. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
79
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
80 #define VIRT_ADDR_VARIES
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
81
84486
8adb647282d7 (C_ALLOCA): Remove references to this.
Glenn Morris <rgm@gnu.org>
parents: 78499
diff changeset
82 /* Define HAVE_ALLOCA to say that the system provides a properly
74826
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
83 working alloca function and it should be used.
84486
8adb647282d7 (C_ALLOCA): Remove references to this.
Glenn Morris <rgm@gnu.org>
parents: 78499
diff changeset
84 Undefine it if an assembler-language alloca
74826
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
85 in the file alloca.s should be used. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
86
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
87 #define HAVE_ALLOCA
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
88
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
89 /* Define NO_REMAP if memory segmentation makes it not work well
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
90 to change the boundary between the text section and data section
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
91 when Emacs is dumped. If you define this, the preloaded Lisp
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
92 code will not be sharable; but that's better than failing completely. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
93
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
94 #define NO_REMAP
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
95
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
96 /* After adding support for a new system, modify the large case
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
97 statement in the `configure' script to recognize reasonable
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
98 configuration names, and add a description of the system to
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
99 `etc/MACHINES'.
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
100
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
101 If you've just fixed a problem in an existing configuration file,
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
102 you should also check `etc/MACHINES' to make sure its descriptions
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
103 of known problems in that configuration should be updated. */
16ec49daeba5 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
104
74859
46ac0ba2cfe9 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 74826
diff changeset
105 /* arch-tag: ee325990-6f40-47a2-b9df-60ecf3599899
46ac0ba2cfe9 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 74826
diff changeset
106 (do not change this comment) */