Sync to HEAD
[bpt/emacs.git] / src / m / tek4300.h
CommitLineData
20c428fd 1/* machine description file for tek4300.
d8f6d720 2 Copyright (C) 1988, 2002 Free Software Foundation, Inc.
20c428fd
JB
3
4This file is part of GNU Emacs.
5
6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
17385adc 8the Free Software Foundation; either version 2, or (at your option)
20c428fd
JB
9any later version.
10
11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to
3b7ad313
EN
18the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20c428fd
JB
20
21
177c0ea7 22/* The following line tells the configuration script what sort of
20c428fd
JB
23 operating system this machine is likely to run.
24 USUAL-OPSYS="bsd4-3" */
25
74d3f806
KH
26/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
27 is the most significant byte. */
28
29#define WORDS_BIG_ENDIAN
30
20c428fd
JB
31/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
32 * group of arguments and treat it as an array of the arguments. */
33
34#undef NO_ARG_ARRAY
35
36/* Define WORD_MACHINE if addresses and such have
37 * to be corrected before they can be used as byte counts. */
38
39#undef WORD_MACHINE
40
20c428fd
JB
41/* Now define a symbol for the cpu type, if your compiler
42 does not define it automatically. */
43
bd37f911 44#ifndef tek4300
20c428fd 45#define tek4300
bd37f911 46#endif
20c428fd
JB
47
48/* Use type int rather than a union, to represent Lisp_Object */
49
50#define NO_UNION_TYPE
51
52/* Data type of load average, as read out of kmem. */
53
54#define LOAD_AVE_TYPE long
55
56/* Convert that into an integer that is 100 for a load average of 1.0 */
57
58#define LOAD_AVE_CVT(x) (x)
59
60/* Define NO_REMAP if memory segmentation makes it not work well
61 to change the boundary between the text section and data section
62 when Emacs is dumped. If you define this, the preloaded Lisp
63 code will not be sharable; but that's better than failing completely. */
64
65#define NO_REMAP
66
20c428fd
JB
67/* setjmp and longjmp can safely replace _setjmp and _longjmp, */
68
69#define _longjmp longjmp
70#define _setjmp setjmp
71
72/* The text segment always starts at a fixed address.
73 This way we don't need to have a label _start defined. */
74
75#define TEXT_START 0
76
77/* The Tektronix exec struct for ZMAGIC files is struct zexec */
78
79#define EXEC_HDR_TYPE struct zexec
80
81/* The entry-point label (start of text segment) is `start', not `__start'. */
82
83#define DEFAULT_ENTRY_ADDRESS start
bdb8d085
RS
84
85/* Use the system's malloc calls, gmalloc.c won't work for us. */
86
87#define SYSTEM_MALLOC
88
89/* In building xmakefile, "cc -E -g" forcibly reads from stdin. Since we
90 can't remove the CFLAGS from that "cc -E" invocation, make sure we
91 never pass -g. If you want to debug, remove the following, and fix
92 src/Makefile.in so it doesn't pass ${CFLAGS} when creating xmakefile. */
93
94#define C_DEBUG_SWITCH
cabfafdc
RS
95
96/* eirik@elf.ithaca.ny.us said this was needed in 19.22. */
97#define NO_MODE_T
bd7caa54
RS
98
99/* Process groups work in the traditional BSD manner. */
100
101#define BSD_PGRPS
6b61353c
KH
102
103/* arch-tag: afa06e53-094c-4a19-9219-155f8ba4bbcc
104 (do not change this comment) */