home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / src / m-delta.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-29  |  4.6 KB  |  153 lines

  1. /* Machine-dependent configuration for GNU Emacs for Motorola Delta machines.
  2.    Copyright (C) 1986 Free Software Foundation, Inc.
  3.  
  4.    Modified by Steve Alexander at Motorola Cleveland 7/25/88
  5.    for use with s-usg5-3.h on Motorola Delta systems.
  6.  
  7. This file is part of GNU Emacs.
  8.  
  9. GNU Emacs is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY.  No author or distributor
  11. accepts responsibility to anyone for the consequences of using it
  12. or for whether it serves any particular purpose or works at all,
  13. unless he says so in writing.  Refer to the GNU Emacs General Public
  14. License for full details.
  15.  
  16. Everyone is granted permission to copy, modify and redistribute
  17. GNU Emacs, but only under the conditions described in the
  18. GNU Emacs General Public License.   A copy of this license is
  19. supposed to have been given to you along with GNU Emacs so you
  20. can know your rights and responsibilities.  It should be in a
  21. file named COPYING.  Among other things, the copyright notice
  22. and this notice must be preserved on all copies.  */
  23.  
  24. /* The following re-define cpp symbols from s-usg5-3.h
  25.    to make appropriate for the Motorola Delta series computers */
  26.  
  27. #undef  KERNEL_FILE
  28. #define KERNEL_FILE "/sysV68"
  29.  
  30.  
  31. /* We have sockets, but only if NSE is installed */
  32. #undef HAVE_SOCKETS
  33. #undef HAVE_PTYS
  34. #undef SYSV_PTYS
  35. #undef LDAV_SYMBOL
  36.  
  37.  
  38. /* The following three symbols give information on
  39.  the size of various data types.  */
  40.  
  41. #define SHORTBITS 16            /* Number of bits in a short */
  42.  
  43. #define INTBITS 32              /* Number of bits in an int */
  44.  
  45. #define LONGBITS 32             /* Number of bits in a long */
  46.  
  47. /* Define BIG_ENDIAN iff lowest-numbered byte in a word
  48.    is the most significant byte.  */
  49.  
  50. #define BIG_ENDIAN
  51.  
  52. /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
  53.  * group of arguments and treat it as an array of the arguments.  */
  54.  
  55. /* #define NO_ARG_ARRAY */
  56.  
  57. /* Define WORD_MACHINE if addresses and such have
  58.  * to be corrected before they can be used as byte counts.  */
  59.  
  60. /* #define WORD_MACHINE */
  61.  
  62. /* Define how to take a char and sign-extend into an int.
  63.    On machines where char is signed, this is a no-op.  */
  64.  
  65. #define SIGN_EXTEND_CHAR(c) (c)
  66.  
  67. /* Say this machine is a 68000 */
  68.  
  69. #ifndef m68000
  70. #define m68000
  71. #endif
  72.  
  73. #ifndef m68k
  74. #define m68k
  75. #endif
  76.  
  77. /* Use type int rather than a union, to represent Lisp_Object */
  78. /* This is desirable for most machines.  */
  79.  
  80. #define NO_UNION_TYPE
  81.  
  82. /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
  83.    the 24-bit bit field into an int.  In other words, if bit fields
  84.    are always unsigned.
  85.  
  86.    If you use NO_UNION_TYPE, this flag does not matter.  */
  87.  
  88. #define EXPLICIT_SIGN_EXTEND
  89.  
  90. /* Sys V/68 and most System V's don't have a true load average */
  91. /* Data type of load average, as read out of kmem.  */
  92. /* #define LOAD_AVE_TYPE struct sysinfo */
  93.  
  94. /* Convert that into an integer that is 100 for a load average of 1.0  */
  95.  
  96. /* #define LOAD_AVE_CVT(x) (int) (((double)(x.cpu[CPU_USER])) * 100.0 / ) */
  97.  
  98. /* Define CANNOT_DUMP on machines where unexec does not work.
  99.    Then the function dump-emacs will not be defined
  100.    and temacs will do (load "loadup") automatically unless told otherwise.  */
  101. /* #define CANNOT_DUMP */
  102.  
  103. /* Define VIRT_ADDR_VARIES if the virtual addresses of
  104.    pure and impure space as loaded can vary, and even their
  105.    relative order cannot be relied on.
  106.  
  107.    Otherwise Emacs assumes that data space precedes text space,
  108.    numerically.  */
  109.  
  110. /* #define VIRT_ADDR_VARIES */  /* Karl Kleinpaste says this isn't needed.  */
  111.  
  112. /* Define C_ALLOCA if this machine does not support a true alloca
  113.    and the one written in C should be used instead.
  114.    Define HAVE_ALLOCA to say that the system provides a properly
  115.    working alloca function and it should be used.
  116.    Define neither one if an assembler-language alloca
  117.    in the file alloca.s should be used.  */
  118.  
  119. /* System V/68 has alloca in the PW library, but it doesn't work
  120.    properly.  The GNU Emacs 18.55 alloca.s doesn't work with this
  121.    system either !   */
  122.  
  123. #define C_ALLOCA
  124.  
  125. /* Define NO_REMAP if memory segmentation makes it not work well
  126.    to change the boundary between the text section and data section
  127.    when Emacs is dumped.  If you define this, the preloaded Lisp
  128.    code will not be sharable; but that's better than failing completely.  */
  129.  
  130. #define NO_REMAP
  131.  
  132. /* Use Terminfo, not Termcap.  */
  133.  
  134. #define TERMINFO
  135.  
  136.  
  137. /* XINT must explicitly sign-extend */
  138.  
  139. #define EXPLICIT_SIGN_EXTEND
  140.  
  141. /* For alloca.c */
  142. #define STACK_DIRECTION -1
  143.  
  144. #ifdef GHS_C  /* Green Hills C compiler */
  145. /* for the greenhills compiler optimise */
  146. #define C_OPTIMIZE_SWITCH -OLM
  147. #endif
  148.  
  149. /* Make etc/fakemail happy */
  150. #define MAIL_PROGRAM_NAME "/bin/mail"
  151.  
  152. #define HAVE_SYSVIPC
  153.