1/* machine description file for Masscomp 5000 series running RTU, ucb universe.
2   Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005,
3                 2006, 2007  Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs; see the file COPYING.  If not, write to
19the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, USA.  */
21
22
23/* The following line tells the configuration script what sort of
24   operating system this machine is likely to run.
25   USUAL-OPSYS="rtu"  */
26
27/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
28   is the most significant byte.  */
29
30#define WORDS_BIG_ENDIAN
31
32/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
33 * group of arguments and treat it as an array of the arguments.  */
34
35#undef NO_ARG_ARRAY
36
37/* Define WORD_MACHINE if addresses and such have
38 * to be corrected before they can be used as byte counts.  */
39
40#undef WORD_MACHINE
41
42/* Now define a symbol for the cpu type, if your compiler
43   does not define it automatically:
44   vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
45   are the ones defined so far.  */
46/* Masscomp predefines mc68000. */
47#define m68000 mc68000
48
49/* Use type int rather than a union, to represent Lisp_Object */
50/* This is desirable for most machines.  */
51
52#define NO_UNION_TYPE
53
54/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
55   the 24-bit bit field into an int.  In other words, if bit fields
56   are always unsigned.
57
58   If you use NO_UNION_TYPE, this flag does not matter.  */
59
60#undef EXPLICIT_SIGN_EXTEND
61
62/* Data type of load average, as read out of kmem.  */
63
64#define LOAD_AVE_TYPE double
65
66/* Convert that into an integer that is 100 for a load average of 1.0  */
67
68#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
69
70/* Define CANNOT_DUMP on machines where unexec does not work.
71   Then the function dump-emacs will not be defined
72   and temacs will do (load "loadup") automatically unless told otherwise.  */
73
74#undef CANNOT_DUMP
75
76/* Define VIRT_ADDR_VARIES if the virtual addresses of
77   pure and impure space as loaded can vary, and even their
78   relative order cannot be relied on.
79
80   Otherwise Emacs assumes that text space precedes data space,
81   numerically.  */
82
83#undef VIRT_ADDR_VARIES
84
85/* Define NO_REMAP if memory segmentation makes it not work well
86   to change the boundary between the text section and data section
87   when Emacs is dumped.  If you define this, the preloaded Lisp
88   code will not be sharable; but that's better than failing completely.  */
89
90#undef NO_REMAP
91
92/* crt0.c should use the vax-bsd style of entry, with a dummy arg.  */
93
94#define CRT0_DUMMIES bogus_fp,
95
96/* Name of file the to look in
97   for the kernel symbol table (for load average) */
98
99#define KERNEL_FILE "/unix"
100
101/* This triggers some stuff to avoid a compiler bug */
102
103#define MASSC_REGISTER_BUG
104
105/* Prevent -lg from being used for debugging.  Not implemented?  */
106
107#define LIBS_DEBUG
108
109/*
110 *	Define HAVE_TERMIO if the system provides sysV-style ioctls
111 *	for terminal control.
112 */
113
114#define HAVE_TERMIO
115
116/* Adjust a header field for the executable file about to be dumped.  */
117
118#define ADJUST_EXEC_HEADER   \
119  hdr.a_stamp = STAMP13; /* really want the latest stamp, whatever it is */
120
121/* arch-tag: 572bf8d1-7a94-48c6-b188-bf69754e0cd2
122   (do not change this comment) */
123