Mercurial > emacs
annotate src/m/masscomp.h @ 13407:5ebb99bc06bb
[HAVE_NTGUI]: Include win32.h.
HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
| author | Geoff Voelker <voelker@cs.washington.edu> |
|---|---|
| date | Tue, 07 Nov 1995 07:13:46 +0000 |
| parents | 1d4654a97585 |
| children | ee40177f6c68 |
| rev | line source |
|---|---|
| 456 | 1 /* machine description file for Masscomp 5000 series running RTU, ucb universe. |
| 2 Copyright (C) 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 | |
| 3699 | 8 the Free Software Foundation; either version 2, or (at your option) |
| 456 | 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="rtu" */ | |
| 24 | |
|
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
25 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
26 is the most significant byte. */ |
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
27 |
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
28 #define WORDS_BIG_ENDIAN |
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
29 |
| 456 | 30 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
| 31 * group of arguments and treat it as an array of the arguments. */ | |
| 32 | |
| 33 #undef NO_ARG_ARRAY | |
| 34 | |
| 35 /* Define WORD_MACHINE if addresses and such have | |
| 36 * to be corrected before they can be used as byte counts. */ | |
| 37 | |
| 38 #undef WORD_MACHINE | |
| 39 | |
| 40 /* Now define a symbol for the cpu type, if your compiler | |
| 41 does not define it automatically: | |
| 42 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | |
| 43 are the ones defined so far. */ | |
| 44 /* Masscomp predefines mc68000. */ | |
| 45 #define m68000 mc68000 | |
| 46 | |
| 47 /* Use type int rather than a union, to represent Lisp_Object */ | |
| 48 /* This is desirable for most machines. */ | |
| 49 | |
| 50 #define NO_UNION_TYPE | |
| 51 | |
| 52 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
| 53 the 24-bit bit field into an int. In other words, if bit fields | |
| 54 are always unsigned. | |
| 55 | |
| 56 If you use NO_UNION_TYPE, this flag does not matter. */ | |
| 57 | |
| 58 #undef EXPLICIT_SIGN_EXTEND | |
| 59 | |
| 60 /* Data type of load average, as read out of kmem. */ | |
| 61 | |
| 62 #define LOAD_AVE_TYPE double | |
| 63 | |
| 64 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
| 65 | |
| 66 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | |
| 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 #undef 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 #undef 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 /* On return from a subroutine, the 68020 compiler restores old contents of | |
| 91 register variables relative to sp, so alloca() screws up such routines. | |
| 92 The following definitions should work on all Masscomps. On the MC-5500 | |
| 93 (a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */ | |
| 94 #ifdef mc500 | |
| 95 #undef C_ALLOCA | |
| 96 #define HAVE_ALLOCA | |
| 97 #else | |
| 98 #define C_ALLOCA | |
| 99 #undef HAVE_ALLOCA | |
| 100 #endif | |
| 101 | |
| 102 /* Define NO_REMAP if memory segmentation makes it not work well | |
| 103 to change the boundary between the text section and data section | |
| 104 when Emacs is dumped. If you define this, the preloaded Lisp | |
| 105 code will not be sharable; but that's better than failing completely. */ | |
| 106 | |
| 107 #undef NO_REMAP | |
| 108 | |
| 109 /* crt0.c should use the vax-bsd style of entry, with a dummy arg. */ | |
| 110 | |
| 111 #define CRT0_DUMMIES bogus_fp, | |
| 112 | |
| 113 /* Name of file the to look in | |
| 114 for the kernel symbol table (for load average) */ | |
| 115 | |
| 116 #define KERNEL_FILE "/unix" | |
| 117 | |
| 118 /* This triggers some stuff to avoid a compiler bug */ | |
| 119 | |
| 120 #define MASSC_REGISTER_BUG | |
| 121 | |
| 122 /* Prevent -lg from being used for debugging. Not implemented? */ | |
| 123 | |
| 124 #define LIBS_DEBUG | |
| 125 | |
| 126 /* | |
| 127 * Define HAVE_TERMIO if the system provides sysV-style ioctls | |
| 128 * for terminal control. | |
| 129 */ | |
| 130 | |
| 131 #define HAVE_TERMIO | |
| 132 | |
| 133 /* Adjust a header field for the executable file about to be dumped. */ | |
| 134 | |
| 135 #define ADJUST_EXEC_HEADER \ | |
| 136 hdr.a_stamp = STAMP13; /* really want the latest stamp, whatever it is */ |
