patch-src_m_hppa_h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. $OpenBSD: patch-src_m_hppa_h,v 1.1 2007/07/06 16:59:32 kettenis Exp $
  2. --- src/m/hppa.h.orig Thu Jun 28 21:56:37 2007
  3. +++ src/m/hppa.h Thu Jun 28 21:57:02 2007
  4. @@ -0,0 +1,124 @@
  5. +/* machine description file template.
  6. + Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  7. +
  8. +This file is part of GNU Emacs.
  9. +
  10. +GNU Emacs is free software; you can redistribute it and/or modify
  11. +it under the terms of the GNU General Public License as published by
  12. +the Free Software Foundation; either version 2, or (at your option)
  13. +any later version.
  14. +
  15. +GNU Emacs is distributed in the hope that it will be useful,
  16. +but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. +GNU General Public License for more details.
  19. +
  20. +You should have received a copy of the GNU General Public License
  21. +along with GNU Emacs; see the file COPYING. If not, write to
  22. +the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  23. +Boston, MA 02111-1307, USA. */
  24. +
  25. +
  26. +/* The following line tells the configuration script what sort of
  27. + operating system this machine is likely to run.
  28. + USUAL-OPSYS="openbsd" */
  29. +
  30. +/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
  31. + is the most significant byte. */
  32. +
  33. +#define WORDS_BIG_ENDIAN
  34. +
  35. +/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
  36. + * group of arguments and treat it as an array of the arguments. */
  37. +
  38. +#define NO_ARG_ARRAY
  39. +
  40. +/* Define WORD_MACHINE if addresses and such have
  41. + * to be corrected before they can be used as byte counts. */
  42. +
  43. +/* #define WORD_MACHINE */
  44. +
  45. +/* Now define a symbol for the cpu type, if your compiler
  46. + does not define it automatically:
  47. + Ones defined so far include vax, m68000, ns16000, pyramid,
  48. + orion, tahoe, APOLLO and many others */
  49. +
  50. +/* __hppa__ defined automatically */
  51. +
  52. +/* Use type int rather than a union, to represent Lisp_Object */
  53. +/* This is desirable for most machines. */
  54. +
  55. +#define NO_UNION_TYPE
  56. +
  57. +/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
  58. + the 24-bit bit field into an int. In other words, if bit fields
  59. + are always unsigned.
  60. +
  61. + If you use NO_UNION_TYPE, this flag does not matter. */
  62. +
  63. +#define EXPLICIT_SIGN_EXTEND
  64. +
  65. +/* Data type of load average, as read out of kmem. */
  66. +
  67. +#define LOAD_AVE_TYPE long
  68. +
  69. +/* Convert that into an integer that is 100 for a load average of 1.0 */
  70. +
  71. +#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
  72. +
  73. +/* Define CANNOT_DUMP on machines where unexec does not work.
  74. + Then the function dump-emacs will not be defined
  75. + and temacs will do (load "loadup") automatically unless told otherwise. */
  76. +
  77. +/* #define CANNOT_DUMP */
  78. +
  79. +/* Define VIRT_ADDR_VARIES if the virtual addresses of
  80. + pure and impure space as loaded can vary, and even their
  81. + relative order cannot be relied on.
  82. +
  83. + Otherwise Emacs assumes that text space precedes data space,
  84. + numerically. */
  85. +
  86. +#define VIRT_ADDR_VARIES
  87. +
  88. +/* Define C_ALLOCA if this machine does not support a true alloca
  89. + and the one written in C should be used instead.
  90. + Define HAVE_ALLOCA to say that the system provides a properly
  91. + working alloca function and it should be used.
  92. + Define neither one if an assembler-language alloca
  93. + in the file alloca.s should be used. */
  94. +
  95. +/* #define C_ALLOCA */
  96. +#define HAVE_ALLOCA
  97. +
  98. +/* Define NO_REMAP if memory segmentation makes it not work well
  99. + to change the boundary between the text section and data section
  100. + when Emacs is dumped. If you define this, the preloaded Lisp
  101. + code will not be sharable; but that's better than failing completely. */
  102. +
  103. +/* #define NO_REMAP */
  104. +
  105. +/* Some really obscure 4.2-based systems (like Sequent DYNIX)
  106. + * do not support asynchronous I/O (using SIGIO) on sockets,
  107. + * even though it works fine on tty's. If you have one of
  108. + * these systems, define the following, and then use it in
  109. + * config.h (or elsewhere) to decide when (not) to use SIGIO.
  110. + *
  111. + * You'd think this would go in an operating-system description file,
  112. + * but since it only occurs on some, but not all, BSD systems, the
  113. + * reasonable place to select for it is in the machine description
  114. + * file.
  115. + */
  116. +
  117. +/* #define NO_SOCK_SIGIO */
  118. +
  119. +#define HAVE_TEXT_START
  120. +
  121. +/* After adding support for a new system, modify the large case
  122. + statement in the `configure' script to recognize reasonable
  123. + configuration names, and add a description of the system to
  124. + `etc/MACHINES'.
  125. +
  126. + If you've just fixed a problem in an existing configuration file,
  127. + you should also check `etc/MACHINES' to make sure its descriptions
  128. + of known problems in that configuration should be updated. */