aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-08 16:25:02 +0000
committerRichard M. Stallman1993-06-08 16:25:02 +0000
commit38fdf675940decb45005128552322bb00cc132f8 (patch)
tree44fae940a89517e492cc2d5cbaea7b2ec560ebaf /src
parent602dc898eaad0338633ef2820cb86884ff15c023 (diff)
downloademacs-38fdf675940decb45005128552322bb00cc132f8.tar.gz
emacs-38fdf675940decb45005128552322bb00cc132f8.zip
Rewrite by author; mostly rearrangements.
Diffstat (limited to 'src')
-rw-r--r--src/m/tekxd88.h105
1 files changed, 29 insertions, 76 deletions
diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h
index 72fcdf9bc6d..1a7ca441dc9 100644
--- a/src/m/tekxd88.h
+++ b/src/m/tekxd88.h
@@ -1,4 +1,4 @@
1/* m- file for Tektronix XD88 running UTekV 3.2e to be used with s-usg5-3.h, 1/* Configuration file for the Tektronix XD88 running UTekV 3.2e,
2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. 2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93.
3 You probably need to use gnu make (version 3.63 or higher.) 3 You probably need to use gnu make (version 3.63 or higher.)
4 Copyright (C) 1993 Free Software Foundation, Inc. 4 Copyright (C) 1993 Free Software Foundation, Inc.
@@ -20,8 +20,7 @@ can know your rights and responsibilities. It should be in a
20file named COPYING. Among other things, the copyright notice 20file named COPYING. Among other things, the copyright notice
21and this notice must be preserved on all copies. */ 21and this notice must be preserved on all copies. */
22 22
23/* The following three symbols give information on 23/* The following symbols give information on the size of various data types. */
24 the size of various data types. */
25#define SHORTBITS 16 /* Number of bits in a short */ 24#define SHORTBITS 16 /* Number of bits in a short */
26#define INTBITS 32 /* Number of bits in an int */ 25#define INTBITS 32 /* Number of bits in an int */
27#define LONGBITS 32 /* Number of bits in a long */ 26#define LONGBITS 32 /* Number of bits in a long */
@@ -50,10 +49,6 @@ and this notice must be preserved on all copies. */
50 On machines where char is signed, this is a no-op. */ 49 On machines where char is signed, this is a no-op. */
51#define SIGN_EXTEND_CHAR(c) (c) 50#define SIGN_EXTEND_CHAR(c) (c)
52 51
53/* Now define a symbol for the cpu type, if your compiler
54 does not define it automatically. */
55
56
57/* Use type int rather than a union, to represent Lisp_Object */ 52/* Use type int rather than a union, to represent Lisp_Object */
58/* This is desirable for most machines. */ 53/* This is desirable for most machines. */
59#define NO_UNION_TYPE 54#define NO_UNION_TYPE
@@ -66,16 +61,14 @@ and this notice must be preserved on all copies. */
66/* #define EXPLICIT_SIGN_EXTEND */ 61/* #define EXPLICIT_SIGN_EXTEND */
67 62
68/* Data type of load average, as read out of kmem. */ 63/* Data type of load average, as read out of kmem. */
69/* No load average on XD88 machines. */ 64/* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */
70/* #define LOAD_AVE_TYPE double */
71
72/* Convert that into an integer that is 100 for a load average of 1.0 */ 65/* Convert that into an integer that is 100 for a load average of 1.0 */
73/* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ 66/* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */
74 67
75/* Define CANNOT_DUMP on machines where unexec does not work. 68/* Define CANNOT_DUMP on machines where unexec does not work.
76 Then the function dump-emacs will not be defined 69 Then the function dump-emacs will not be defined
77 and temacs will do (load "loadup") automatically unless told otherwise. */ 70 and temacs will do (load "loadup") automatically unless told otherwise. */
78#define CANNOT_DUMP /* oh well, maybe someday ... */ 71/*#define CANNOT_DUMP*/
79 72
80/* Define VIRT_ADDR_VARIES if the virtual addresses of 73/* Define VIRT_ADDR_VARIES if the virtual addresses of
81 pure and impure space as loaded can vary, and even their 74 pure and impure space as loaded can vary, and even their
@@ -109,75 +102,35 @@ and this notice must be preserved on all copies. */
109# define C_OPTIMIZE_SWITCH -O 102# define C_OPTIMIZE_SWITCH -O
110#endif /* __GNUC__ */ 103#endif /* __GNUC__ */
111 104
112/*#define C_DEBUG_SWITCH C_OPTIMIZE_SWITCH*/ /* Uncomment this to optimize */ 105#undef NOMULTIPLEJOBS /* we have job control */
113 106#define HAVE_SOCKETS /* sockets are available */
114/* XD88 SysV has PTYs. Not all usg3-5 systems do, so this is defined here. */ 107#define HAVE_TIMEVAL /* we have Berkeley style <sys/time.h> */
115#define HAVE_PTYS 108#define HAVE_SELECT /* XD88 has select(). */
116#define SYSV_PTYS /* Requires <termios.h> */ 109#define BROKEN_FIONREAD /* is this needed ? */
117 110#define BSTRING /* its in libc but not declared in any header file. */
118/* we have job control */
119#undef NOMULTIPLEJOBS
120
121/*
122 * sockets are available
123 */
124#define HAVE_SOCKETS
125
126/*
127 * we have Berkeley style <sys/time.h>
128 */
129#define HAVE_TIMEVAL
130
131/* XD88 has select(). */
132#define HAVE_SELECT
133#define BROKEN_FIONREAD /* is this needed ? */
134
135/*
136 * don't use utimes, we ain't got one - use utime() instead
137 */
138#define USE_UTIME
139
140#define NO_SIOCTL_H
141
142/* We need HAVE_TCATTR to prevent Ctrl-Z from suspending Emacs before
143 suspend-emacs has been called. */
144/*#define HAVE_TCATTR*/
145/* TCATTR gives bogus baud rates. Use the following for OSPEED instead. */
146/*#define OSPEED(str) (cfgetospeed(&(str)))*/
147#define HAVE_TERMIOS
148#undef HAVE_TERMIO
149
150#define BSTRING /* its in libc but not declared in any <*.h> file. */
151#define HAVE_TZSET
152#define HAVE_SETSID 111#define HAVE_SETSID
112#undef sigsetmask /* XD88 has sigsetmask() */
153 113
154#ifdef ghs /* Stands for "Green Hills Software", defined in /bin/cc */
155/* Only required for use with the Green Hills compiler:
156 -X18 Do not allocate programmer-defined local variables to a
157 register unless they are declared register. (From building
158 perl-4.036 Green Hills hints. Might be needed for setjmp.)
159 */
160#define C_SWITCH_MACHINE -X18
161/* We need /lib/default.ld so the bundled ld can read its link directives. */
162#define LD_SWITCH_SYSTEM /lib/default.ld
163#endif /* ghs */
164
165/* XD88 does not have the random() and srandom() calls in the base system,
166 but they exist in libX11.a. So, if you are building with X11 then you
167 will need to define HAVE_RANDOM. */
168#ifdef HAVE_X_WINDOWS 114#ifdef HAVE_X_WINDOWS
169#define HAVE_RANDOM 115# define HAVE_RANDOM /* Random is in libX11.a */
170#undef LIB_X11_LIB /* don't use the shared library default from usg5-3.h */ 116# undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */
171#undef LIBX11_SYSTEM 117# undef LIBX11_SYSTEM
172#endif /* HAVE_X_WINDOWS */ 118#endif /* HAVE_X_WINDOWS */
173 119
174/*#define SYSTEM_MALLOC*/ 120#define HAVE_TERMIOS /* We have termios. */
121#undef HAVE_TERMIO /* Make sure termios ifdef code is used, not termio. */
122#define NO_TERMIO /* Don't include both termios.h and termio.h */
123#define HAVE_PTYS /* XD88 SysV has PTYs. */
124#define SYSV_PTYS /* Requires <termios.h> */
175 125
176#ifndef UTEKV 126#ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */
177#define UTEKV /* system specific symbol */ 127/* -X18 means do not allocate programmer-defined local variables to a
178#endif /* !UTEKV */ 128 register unless they are declared register. (Copied from perl-4.036
129 Green Hills C hints file. Might be needed for setjmp, I don't know.) */
130# define C_SWITCH_MACHINE -X18
131/* We need /lib/default.ld so that /bin/ld can read its link directives. */
132# define LD_SWITCH_SYSTEM /lib/default.ld
133#endif /* ghs */
179 134
180/* stuff to hopefully someday get dumping working ... */ 135/* We need this to get dumping to work */
181/*#define SECTION_ALIGNMENT 0x1ff*/ 136#define KEEP_OLD_TEXT_SCNPTR
182/*#define SEGMENT_MASK 0xff*/
183/*#define A_TEXT_OFFSET(HDR) sizeof(HDR)*/