Mercurial > emacs
annotate src/m/sequent-ptx.h @ 11571:771bd7ddd4cc
(sc-raw-mode-toggle): Use force-mode-line-update.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 25 Apr 1995 22:25:51 +0000 |
parents | 24f70eafc5ef |
children | ee40177f6c68 |
rev | line source |
---|---|
8969 | 1 /* machine description file for SEQUENT machines running DYNIX/ptx |
2 Copyright (C) 1985, 1986 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 GNU Emacs; see the file COPYING. If not, write to | |
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
19 | |
20 | |
21 /* The following line tells the configuration script what sort of | |
22 operating system this machine is likely to run. | |
23 USUAL-OPSYS="ptx" */ | |
24 | |
25 #include "intel386.h" | |
26 | |
27 /* Define how to take a char and sign-extend into an int. | |
28 On machines where char is signed, this is a no-op. */ | |
29 /* CHECK THIS */ | |
30 #define SIGN_EXTEND_CHAR(c) (c) | |
31 | |
32 /* Now define a symbol for the cpu type, if your compiler | |
33 does not define it automatically: | |
34 Ones defined so far include vax, m68000, ns16000, pyramid, | |
35 orion, tahoe, APOLLO and many others. */ | |
36 | |
37 /* BTW: ptx defines _SEQUENT_, i386 */ | |
38 | |
39 /* Use type int rather than a union, to represent Lisp_Object */ | |
40 /* This is desirable for most machines. */ | |
41 | |
42 #define NO_UNION_TYPE | |
43 | |
44 /* crt0.c should use the vax-bsd style of entry, with these dummy args. */ | |
45 /* Already defined. Assume prior definition works for PTX. */ | |
46 #if 0 | |
47 #undef CRT0_DUMMIES | |
48 #define CRT0_DUMMIES dummy1, dummy2, dummy3, | |
49 #endif | |
50 | |
51 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
52 the 24-bit bit field into an int. In other words, if bit fields | |
53 are always unsigned. | |
54 | |
55 If you use NO_UNION_TYPE, this flag does not matter. */ | |
56 | |
57 #define EXPLICIT_SIGN_EXTEND | |
58 | |
59 /* Data type of load average, as read out of kmem. */ | |
60 | |
61 #define LOAD_AVE_TYPE unsigned long | |
62 | |
63 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
64 | |
65 #define FSCALE 1000.0 | |
66 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
67 | |
68 /* Define CANNOT_DUMP on machines where unexec does not work. | |
69 Then the function dump-emacs will not be defined | |
70 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
71 | |
72 /* #define CANNOT_DUMP */ | |
73 | |
74 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
75 pure and impure space as loaded can vary, and even their | |
76 relative order cannot be relied on. | |
77 | |
78 Otherwise Emacs assumes that text space precedes data space, | |
79 numerically. */ | |
80 | |
81 /* #define VIRT_ADDR_VARIES */ | |
82 | |
83 /* Define C_ALLOCA if this machine does not support a true alloca | |
84 and the one written in C should be used instead. | |
85 Define HAVE_ALLOCA to say that the system provides a properly | |
86 working alloca function and it should be used. | |
87 Define neither one if an assembler-language alloca | |
88 in the file alloca.s should be used. */ | |
89 | |
90 #ifndef __GNUC__ | |
91 #define C_ALLOCA | |
92 #undef HAVE_ALLOCA | |
93 #endif | |
94 | |
95 /* Define NO_REMAP if memory segmentation makes it not work well | |
96 to change the boundary between the text section and data section | |
97 when Emacs is dumped. If you define this, the preloaded Lisp | |
98 code will not be sharable; but that's better than failing completely. */ | |
99 /* On PTX, can't seem to get a valid executable unless NO_REMAP is | |
100 defined. This did work in the Sequent patched Emacs 18.57. */ | |
101 #ifndef NO_REMAP | |
102 #define NO_REMAP | |
103 #endif | |
104 /* #undef NO_REMAP */ | |
105 | |
106 /* If a valid PTX executable could be dumped without NO_REMAP defined, | |
107 here's a guess at some defines to make it work. */ | |
108 #ifndef NO_REMAP | |
109 | |
110 /* PTX has getpagesize() but it returns 296. Using the default method of | |
111 including getpagesize.h in unexec.c returns 4096 which seems more | |
112 reasonable. */ | |
9722
24f70eafc5ef
(HAVE_GETPAGESIZE): Explicitly #undef.
Richard M. Stallman <rms@gnu.org>
parents:
8969
diff
changeset
|
113 #undef HAVE_GETPAGESIZE |
8969 | 114 |
115 /* Override magic number for a.out header. */ | |
116 #define EXEC_MAGIC 0411 /* from a.out.h: separated I&D */ | |
117 | |
118 #define ADJUST_TEXT_SCNHDR_SIZE | |
119 #define ADJUST_TEXTBASE | |
120 | |
121 /* The file sections in the Symmetry a.out must be on 4K boundaries. */ | |
122 /* #define DATA_SECTION_ALIGNMENT (4096-1) */ | |
123 | |
124 #endif /* ifndef NO_REMAP */ | |
125 | |
126 /* Avoids a compiler bug. */ | |
127 #define TAHOE_REGISTER_BUG | |
128 | |
129 /* (short) negative-int doesn't sign-extend correctly. */ | |
130 #define SHORT_CAST_BUG | |
131 | |
132 /* Cause compilations to be done in parallel in ymakefile. */ | |
133 #define MAKE_PARALLEL $& | |
134 | |
135 /* Use terminfo library. */ | |
136 #define LIBS_TERMCAP -ltermlib | |
137 |