*** empty log message ***
[emacs.git] / src / m / pfa50.h
blob5b8d47aef53d5dab6d187e7d6786457391914f8c
1 /* Machine description file for PFU A-series.
2 Copyright (C) 1988, 1999 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
22 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
23 is the most significant byte. */
25 #define WORDS_BIG_ENDIAN
27 /* Say this machine is a 68000 */
29 #define m68000
30 #define mc68000 1
32 /* Use type int rather than a union, to represent Lisp_Object */
34 #define NO_UNION_TYPE
36 /* XINT must explicitly sign-extend */
38 #define EXPLICIT_SIGN_EXTEND
40 /* The symbol FIONREAD is defined, but the feature does not work. */
42 #define BROKEN_FIONREAD
44 /* Define NO_REMAP if memory segmentation makes it not work well
45 to change the boundary between the text section and data section
46 when Emacs is dumped. If you define this, the preloaded Lisp
47 code will not be sharable; but that's better than failing completely. */
49 #define NO_REMAP
51 /* Define TEXT_START_ADDR if your linker don't set execute point to _start.
52 If it needed, temacs always CORE-DUMP. */
54 #define TEXT_START_ADDR __start
56 /* Define START_FILES if your machine used _start.
59 #define START_FILES crt0.o
61 /* Define LD_SWITCH_MACHINE if your linker needs it.
64 #define LD_SWITCH_MACHINE -e __start
66 #if pfa50 || pfa70
68 /* On A-50/60/70/80, data space has high order byte use. */
69 #define VALBITS 26
70 #define VALMASK (((1<<VALBITS) - 1) | 0x60000000)
71 #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK))
73 #endif /* pfa50, pfa70 */
75 /* SX/A has alloca in the PW library. */
77 #define LIB_STANDARD -lPW -lc
78 #define HAVE_ALLOCA
80 /* SX/A uses terminfo and lib/curses */
82 #define TERMINFO
84 #define HAVE_PTYS
85 #define HAVE_SOCKETS
87 /* SX/A use SystemV style getdents/readdir. */
89 /* SX/A does not have sigblock(2) */
90 #define sigblock(mask) (0)
92 #define NO_SIOCTL_H
94 #define BROKEN_SIGIO