Mercurial > emacs
annotate src/m/pfa50.h @ 13373:c2eff18fae26
Initial revision
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 31 Oct 1995 16:57:10 +0000 |
parents | 5087094fb4d7 |
children | 1d4654a97585 |
rev | line source |
---|---|
579 | 1 /* Machine description file for PFU A-series. |
471 | 2 Copyright (C) 1988 Free Software Foundation, Inc. |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
3700
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
6 GNU Emacs is free software; you can redistribute it and/or modify |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
7 it under the terms of the GNU General Public License as published by |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
8 the Free Software Foundation; either version 2, or (at your option) |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
9 any later version. |
471 | 10 |
3700
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
11 GNU Emacs is distributed in the hope that it will be useful, |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
14 GNU General Public License for more details. |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
15 |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
17 along with GNU Emacs; see the file COPYING. If not, write to |
d76398601a0b
Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
471 | 19 |
20 | |
21 /* The following three symbols give information on | |
22 the size of various data types. */ | |
23 | |
24 #define SHORTBITS 16 /* Number of bits in a short */ | |
25 | |
26 #define INTBITS 32 /* Number of bits in an int */ | |
27 | |
28 #define LONGBITS 32 /* Number of bits in a long */ | |
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 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
34 |
471 | 35 /* Say this machine is a 68000 */ |
36 | |
37 #define m68000 | |
38 #define mc68000 1 | |
39 | |
40 /* Use type int rather than a union, to represent Lisp_Object */ | |
41 | |
42 #define NO_UNION_TYPE | |
43 | |
44 /* XINT must explicitly sign-extend */ | |
45 | |
46 #define EXPLICIT_SIGN_EXTEND | |
47 | |
48 /* The symbol FIONREAD is defined, but the feature does not work. */ | |
49 | |
50 #define BROKEN_FIONREAD | |
51 | |
52 /* Define NO_REMAP if memory segmentation makes it not work well | |
53 to change the boundary between the text section and data section | |
54 when Emacs is dumped. If you define this, the preloaded Lisp | |
55 code will not be sharable; but that's better than failing completely. */ | |
56 | |
57 #define NO_REMAP | |
58 | |
59 /* Define TEXT_START_ADDR if your linker don't set execute point to _start. | |
60 If it needed, temacs always CORE-DUMP. */ | |
61 | |
62 #define TEXT_START_ADDR __start | |
63 | |
64 /* Define START_FILES if your machine used _start. | |
65 */ | |
66 | |
67 #define START_FILES crt0.o | |
68 | |
10359
5087094fb4d7
(VALBITS, XTYPE): Adjust for new bit layout.
Karl Heuer <kwzh@gnu.org>
parents:
9095
diff
changeset
|
69 /* Define LD_SWITCH_MACHINE if your linker needs it. |
471 | 70 */ |
71 | |
72 #define LD_SWITCH_MACHINE -e __start | |
73 | |
74 #if pfa50 || pfa70 | |
75 | |
76 /* On A-50/60/70/80, data space has high order byte use. */ | |
10359
5087094fb4d7
(VALBITS, XTYPE): Adjust for new bit layout.
Karl Heuer <kwzh@gnu.org>
parents:
9095
diff
changeset
|
77 #define VALBITS 26 |
471 | 78 #define VALMASK (((1<<VALBITS) - 1) | 0x60000000) |
10359
5087094fb4d7
(VALBITS, XTYPE): Adjust for new bit layout.
Karl Heuer <kwzh@gnu.org>
parents:
9095
diff
changeset
|
79 #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK)) |
471 | 80 |
81 #endif /* pfa50, pfa70 */ | |
82 | |
83 /* SX/A has alloca in the PW library. */ | |
84 | |
85 #define LIB_STANDARD -lPW -lc | |
86 #define HAVE_ALLOCA | |
87 | |
88 /* SX/A uses terminfo and lib/curses */ | |
89 | |
90 #define TERMINFO | |
91 | |
92 #define HAVE_PTYS | |
93 #define HAVE_SOCKETS | |
94 | |
95 /* SX/A use SystemV style getdents/readdir. */ | |
96 | |
97 /* SX/A does not have sigblock(2) */ | |
98 #define sigblock(mask) (0) | |
99 | |
100 #define NO_SIOCTL_H | |
101 | |
102 #undef SIGIO |