Contents in 1999-06-04-13 of release-21-2.
[chise/xemacs-chise.git.1] / src / m / tek4300.h
1 /* machine description file for tek4300.
2    Copyright (C) 1988 Free Software Foundation, Inc.
3
4 This file is part of GNU Emacs.
5
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.
10
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.
15
16 You should have received a copy of the GNU General Public License
17 along with XEmacs; 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.  */
20
21 /* Synched up with: FSF 19.31. */
22
23 /* The following line tells the configuration script what sort of 
24    operating system this machine is likely to run.
25    USUAL-OPSYS="bsd4-3"  */
26
27 /* Define WORD_MACHINE if addresses and such have
28  * to be corrected before they can be used as byte counts.  */
29
30 #undef WORD_MACHINE
31
32 /* Now define a symbol for the cpu type, if your compiler
33    does not define it automatically.  */
34
35 #ifndef tek4300
36 #define tek4300
37 #endif
38
39 /* Data type of load average, as read out of kmem.  */
40
41 #define LOAD_AVE_TYPE long
42
43 /* Convert that into an integer that is 100 for a load average of 1.0  */
44
45 #define LOAD_AVE_CVT(x) (x)
46
47 /* Define NO_REMAP if memory segmentation makes it not work well
48    to change the boundary between the text section and data section
49    when Emacs is dumped.  If you define this, the preloaded Lisp
50    code will not be sharable; but that's better than failing completely.  */
51
52 #define NO_REMAP
53
54 /* Define C_ALLOCA if this machine does not support a true alloca
55    and the one written in C should be used instead. */
56
57 #define C_ALLOCA
58
59 /* The text segment always starts at a fixed address.
60    This way we don't need to have a label _start defined.  */
61
62 #define TEXT_START 0
63
64 /* The Tektronix exec struct for ZMAGIC files is struct zexec */
65
66 #define EXEC_HDR_TYPE struct zexec
67
68 /* The entry-point label (start of text segment) is `start', not `__start'.  */
69
70 #define DEFAULT_ENTRY_ADDRESS start
71
72 /* Use the system's malloc calls, gmalloc.c won't work for us. */
73
74 #define SYSTEM_MALLOC
75
76 /* In building xmakefile, "cc -E -g" forcibly reads from stdin.  Since we
77    can't remove the CFLAGS from that "cc -E" invocation, make sure we
78    never pass -g.  If you want to debug, remove the following, and fix
79    src/Makefile.in so it doesn't pass ${CFLAGS} when creating xmakefile. */
80
81 #define C_DEBUG_SWITCH
82
83 /* eirik@elf.ithaca.ny.us said this was needed in 19.22.  */
84 #define NO_MODE_T
85
86 /* Formerly "BSD_PGRPS" */
87
88 #define SIGIO_REQUIRES_SEPARATE_PROCESS_GROUP