Switch license to GPLv3 or later.
[bpt/emacs.git] / src / m / ns16000.h
1 /* machine description file for ns16000.
2 Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005,
3 2006, 2007 Free Software Foundation, Inc.
4
5 This file is part of GNU Emacs.
6
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
11
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
21
22
23 /* The following line tells the configuration script what sort of
24 operating system this machine is likely to run.
25 USUAL-OPSYS="note"
26
27 NOTE-START
28 For the Encore, use `-opsystem=umax'.
29 For a Tektronix 16000 box (a 6130, perhaps?), use `-opsystem=bsd4-2'.
30 Use `-machine=ns16000' for both.
31 NOTE-END */
32
33 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
34 is the most significant byte. */
35
36 #undef WORDS_BIG_ENDIAN
37
38 /* Say this machine is a 16000 */
39
40 #define ns16000 1
41
42 /* Use type int rather than a union, to represent Lisp_Object */
43
44 #define NO_UNION_TYPE
45
46 /* Data type of load average, as read out of kmem. */
47
48 #ifndef USG
49 #define LOAD_AVE_TYPE double
50 #endif
51
52 /* Convert that into an integer that is 100 for a load average of 1.0 */
53
54 #ifndef USG
55 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
56 #endif
57 \f
58 #ifdef USG
59
60 /* Control assembler syntax used in alloca.s. */
61 #define NS5
62
63 /* On early NS systems ulimit was buggy. If set emacs uses this value
64 * for the maximum sbrk value instead of getting it from ulimit.
65 */
66 #define ULIMIT_BREAK_VALUE 0x7E0000
67
68 /* Early NS compilers have this bug. I believe it has been fixed in later
69 * releases.
70 */
71 #define SHORT_CAST_BUG
72
73 #define SEGMENT_MASK (NBPS - 1)
74
75 /* Variables to get crt0.c to come out correctly */
76 #define CRT0_DUMMIES bogus_fp,
77 #define DOT_GLOBAL_START
78
79 /* Control how emacsclient communicates. */
80 #define HAVE_SYSVIPC
81
82 /* Set this to /bin/mail unless you have a better mail posting program */
83 #define MAIL_PROGRAM_NAME "/usr/local/bin/remail"
84
85 /* Tell sysdep.c not to define bzero, etc. */
86 #undef BSTRING
87 #define BSTRING
88
89 /* This avoids problems with uninitialized static variables going in .data. */
90 #define static
91
92 #endif /* USG */
93
94 /* arch-tag: 4210db3c-e35c-4b96-9399-1dbde3e00a57
95 (do not change this comment) */