patch-src_m_mips64_h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. $OpenBSD: patch-src_m_mips64_h,v 1.1 2004/10/31 23:03:29 mjc Exp $
  2. --- src/m/mips64.h.orig Tue Nov 30 00:18:10 2004
  3. +++ src/m/mips64.h Tue Nov 30 00:21:52 2004
  4. @@ -0,0 +1,109 @@
  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="<name of system .h file here, without the s- or .h>" */
  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. +/* Use type int rather than a union, to represent Lisp_Object */
  51. +/* This is desirable for most machines. */
  52. +
  53. +#define NO_UNION_TYPE
  54. +
  55. +/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
  56. + the 24-bit bit field into an int. In other words, if bit fields
  57. + are always unsigned.
  58. +
  59. + If you use NO_UNION_TYPE, this flag does not matter. */
  60. +
  61. +#define EXPLICIT_SIGN_EXTEND
  62. +
  63. +/* Data type of load average, as read out of kmem. */
  64. +
  65. +#define LOAD_AVE_TYPE long
  66. +
  67. +/* Convert that into an integer that is 100 for a load average of 1.0 */
  68. +
  69. +#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
  70. +
  71. +/* Define VIRT_ADDR_VARIES if the virtual addresses of
  72. + pure and impure space as loaded can vary, and even their
  73. + relative order cannot be relied on.
  74. +
  75. + Otherwise Emacs assumes that text space precedes data space,
  76. + numerically. */
  77. +
  78. +#define VIRT_ADDR_VARIES
  79. +
  80. +/* Define C_ALLOCA if this machine does not support a true alloca
  81. + and the one written in C should be used instead.
  82. + Define HAVE_ALLOCA to say that the system provides a properly
  83. + working alloca function and it should be used.
  84. + Define neither one if an assembler-language alloca
  85. + in the file alloca.s should be used. */
  86. +
  87. +#define C_ALLOCA
  88. +#define HAVE_ALLOCA
  89. +
  90. +/* Define NO_REMAP if memory segmentation makes it not work well
  91. + to change the boundary between the text section and data section
  92. + when Emacs is dumped. If you define this, the preloaded Lisp
  93. + code will not be sharable; but that's better than failing completely. */
  94. +
  95. +#define NO_REMAP
  96. +
  97. +/* Some really obscure 4.2-based systems (like Sequent DYNIX)
  98. + * do not support asynchronous I/O (using SIGIO) on sockets,
  99. + * even though it works fine on tty's. If you have one of
  100. + * these systems, define the following, and then use it in
  101. + * config.h (or elsewhere) to decide when (not) to use SIGIO.
  102. + *
  103. + * You'd think this would go in an operating-system description file,
  104. + * but since it only occurs on some, but not all, BSD systems, the
  105. + * reasonable place to select for it is in the machine description
  106. + * file.
  107. + */
  108. +
  109. +#define NO_SOCK_SIGIO
  110. +
  111. +#define TEXT_START 0x0000000000400000L
  112. +
  113. +