/* m- file for Mips machines.
Copyright (C) 1987, 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008 Free Software Foundation, Inc.
+ 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of GNU Emacs.
USUAL-OPSYS="note"
NOTE-START
-This is only used on GNU/Linux.
+This is used on GNU/Linux and netbsd.
NOTE-END */
/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
#define NO_ARG_ARRAY
-/* Now define a symbol for the cpu type, if your compiler
- does not define it automatically. */
-#ifndef mips
-# define mips
-#endif
-
/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
the 24-bit bit field into an int. In other words, if bit fields
are always unsigned.
#define EXPLICIT_SIGN_EXTEND
-/* Data type of load average, as read out of kmem. */
-
-#define LOAD_AVE_TYPE long
-
-/* Convert that into an integer that is 100 for a load average of 1.0 */
-
-#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0)
-
-/* Define NO_REMAP if memory segmentation makes it not work well
- to change the boundary between the text section and data section
- when Emacs is dumped. If you define this, the preloaded Lisp
- code will not be sharable; but that's better than failing completely. */
-
-#define NO_REMAP
-
/* Describe layout of the address space in an executing process. */
#define TEXT_START 0x00400000
+
+#ifndef GNU_LINUX
#define DATA_START 0x10000000
-#define DATA_SEG_BITS 0x10000000
+#endif
\f
+#if 0 /* These definitions were advantageous when not using
+ USE_LSB_TAG. With that, they get ignored but cause errors. */
+
+#define DATA_SEG_BITS 0x10000000
+
/* The standard definitions of these macros would work ok,
but these are faster because the constants are short. */
/* arch-tag: 8fd020ee-78a7-4d87-96ce-6129f52f7bee
(do not change this comment) */
+
+#endif /* 0 */
+