annotate src/m/pfa50.h @ 7035:39895883bb2e

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Apr 1994 01:49:08 +0000
parents d7069bd44885
children 191acacfa1ec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
579
e2782df984a2 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 471
diff changeset
1 /* Machine description file for PFU A-series.
471
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2 Copyright (C) 1988 Free Software Foundation, Inc.
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 This file is part of GNU Emacs.
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
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
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
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
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 /* The following three symbols give information on
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 the size of various data types. */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 #define SHORTBITS 16 /* Number of bits in a short */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 #define INTBITS 32 /* Number of bits in an int */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 #define LONGBITS 32 /* Number of bits in a long */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 /* 68000 has lowest-numbered byte as most significant */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #define BIG_ENDIAN
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 /* Say this machine is a 68000 */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
36 #define m68000
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37 #define mc68000 1
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39 /* Use type int rather than a union, to represent Lisp_Object */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
41 #define NO_UNION_TYPE
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43 /* XINT must explicitly sign-extend */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 #define EXPLICIT_SIGN_EXTEND
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 /* The symbol FIONREAD is defined, but the feature does not work. */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
49 #define BROKEN_FIONREAD
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51 /* Define NO_REMAP if memory segmentation makes it not work well
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
52 to change the boundary between the text section and data section
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
53 when Emacs is dumped. If you define this, the preloaded Lisp
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
54 code will not be sharable; but that's better than failing completely. */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
55
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
56 #define NO_REMAP
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
57
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
58 /* Define TEXT_START_ADDR if your linker don't set execute point to _start.
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
59 If it needed, temacs always CORE-DUMP. */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
60
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
61 #define TEXT_START_ADDR __start
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
62
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
63 /* Define START_FILES if your machine used _start.
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
64 */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
65
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
66 #define START_FILES crt0.o
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
67
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
68 /* Define LD_SWITCH_MACHINE if your linker need it.
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
69 */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
70
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
71 #define LD_SWITCH_MACHINE -e __start
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
72
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
73 #if pfa50 || pfa70
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
74
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
75 /* On A-50/60/70/80, data space has high order byte use. */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76 #define VALMASK (((1<<VALBITS) - 1) | 0x60000000)
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
77 #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & 0x1f))
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
78 #define XGCTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & 0x1f))
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
79
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
80 #endif /* pfa50, pfa70 */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
81
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
82 /* SX/A has alloca in the PW library. */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
83
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
84 #define LIB_STANDARD -lPW -lc
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
85 #define HAVE_ALLOCA
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
86
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
87 /* SX/A uses terminfo and lib/curses */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
88
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
89 #define TERMINFO
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
90
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
91 #define HAVE_TIMEVAL
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
92 #define HAVE_SELECT
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
93 #define HAVE_PTYS
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
94 #define HAVE_SOCKETS
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
95
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
96 /* SX/A use SystemV style getdents/readdir. */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
97
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
98 /* SX/A does not have sigblock(2) */
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
99 #define sigblock(mask) (0)
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
100
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
101 #define USG_SYS_TIME
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
102 #define USE_UTIME
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
103
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
104 #define NO_SIOCTL_H
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
105
259595b59f93 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
106 #undef SIGIO