Mercurial > emacs
annotate src/m/elxsi.h @ 71375:706e41b8c07f
(Coding Conventions): Better explain conventions for definition constructs.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 16 Jun 2006 15:22:59 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
456 | 1 /* machine description file for Elxsi machine (running enix). |
64767
11814686b09f
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
2 Copyright (C) 1986, 1992, 2002, 2003, 2004, |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
3 2005, 2006 Free Software Foundation, Inc. |
456 | 4 Adapted by John Salmon |
5 | |
6 This file is part of GNU Emacs. | |
7 | |
8 GNU Emacs is free software; you can redistribute it and/or modify | |
9 it under the terms of the GNU General Public License as published by | |
3699 | 10 the Free Software Foundation; either version 2, or (at your option) |
456 | 11 any later version. |
12 | |
13 GNU Emacs is distributed in the hope that it will be useful, | |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 GNU General Public License for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
19 along with GNU Emacs; see the file COPYING. If not, write to | |
64083 | 20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
21 Boston, MA 02110-1301, USA. */ | |
456 | 22 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
23 /* The following line tells the configuration script what sort of |
456 | 24 operating system this machine is likely to run. |
25 USUAL-OPSYS="usg5-2" */ | |
26 | |
27 /* This file was modified by Matt Crawford <matt@tank.uchicago.edu> | |
28 to work under Elxsi's 12.0 release of BSD unix. */ | |
29 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
30 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
31 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
32 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
33 #undef WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
34 |
456 | 35 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
36 * group of arguments and treat it as an array of the arguments. */ | |
37 | |
38 /*#define NO_ARG_ARRAY */ | |
39 | |
40 /* Define WORD_MACHINE if addresses and such have | |
41 * to be corrected before they can be used as byte counts. */ | |
42 | |
43 /*#define WORD_MACHINE */ | |
44 | |
45 /* Now define a symbol for the cpu type, if your compiler | |
46 does not define it automatically: | |
47 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | |
48 are the ones defined so far. */ | |
49 | |
50 #ifndef elxsi | |
51 #define elxsi | |
52 #endif | |
53 | |
54 /* Use type int rather than a union, to represent Lisp_Object */ | |
55 /* This is desirable for most machines. */ | |
56 | |
57 #define NO_UNION_TYPE | |
58 | |
59 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
60 the 24-bit bit field into an int. In other words, if bit fields | |
61 are always unsigned. | |
62 | |
63 If you use NO_UNION_TYPE, this flag does not matter. */ | |
64 | |
65 #define EXPLICIT_SIGN_EXTEND | |
66 | |
67 | |
68 /* Name of kernel load average variable */ | |
69 | |
70 #undef LDAV_SYMBOL | |
71 #define LDAV_SYMBOL "avenrun" | |
72 | |
73 /* Data type of load average, as read out of kmem. */ | |
74 | |
75 #define LOAD_AVE_TYPE double | |
76 | |
77 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
78 | |
79 #define LOAD_AVE_CVT(x) (int) ((x) * 100.0) | |
80 | |
81 /* Define CANNOT_DUMP on machines where unexec does not work. | |
82 Then the function dump-emacs will not be defined | |
83 and temacs will do (load "loadup") automatically unless told otherwise. | |
84 | |
593 | 85 Earlier versions couldn't dump. |
86 Changes for 12.0 release are in 19.1. | |
87 Dumping should work now. */ | |
456 | 88 |
89 /* #define CANNOT_DUMP */ | |
90 | |
91 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
92 pure and impure space as loaded can vary, and even their | |
93 relative order cannot be relied on. | |
94 | |
95 Otherwise Emacs assumes that text space precedes data space, | |
96 numerically. */ | |
97 | |
98 /* #define VIRT_ADDR_VARIES */ | |
99 | |
100 /* Define NO_REMAP if memory segmentation makes it not work well | |
101 to change the boundary between the text section and data section | |
102 when Emacs is dumped. If you define this, the preloaded Lisp | |
103 code will not be sharable; but that's better than failing completely. */ | |
104 /*#define NO_REMAP*/ | |
105 | |
106 /* This is a guess for an alternate solution to whatever | |
107 problem motivated defining _sobuf in sysdep,c with extern char *_sobuf. */ | |
108 #define _sobuf xsobuf | |
109 | |
110 /* Address of start of text segment as loaded. */ | |
111 | |
112 #define TEXT_START 0x800 | |
113 | |
114 /* Tell crt0.c not to define environ. */ | |
115 | |
116 #define DONT_NEED_ENVIRON | |
117 | |
118 /* The elxsi has no debugger, so might as well optimize instead | |
119 of trying to make a symbol table. */ | |
120 | |
121 #define C_DEBUG_SWITCH -O | |
122 | |
123 /* Elxsi uses COFF under both Sys V and BSD environments */ | |
124 | |
125 #define COFF | |
126 | |
127 #define ADJUST_EXEC_HEADER {\ | |
128 extern int _init_brk;\ | |
129 _init_brk = bss_start;\ | |
130 } | |
52401 | 131 |
132 /* arch-tag: 73bf1120-a994-4c29-8d60-af425d8bf10c | |
133 (do not change this comment) */ |