Move some stuff to new file "copyright".
[emacs.git] / src / m / irist.h
blob4ae3681bd920e2df70b07760ab207fae30834a50
1 /* machine description file for Silicon Graphics Iris 2500 Turbos;
2 also possibly for non-turbo Irises with system release 2.5.
3 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004,
4 2005, 2006, 2007 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
8 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
24 /* The following line tells the configuration script what sort of
25 operating system this machine is likely to run.
26 USUAL-OPSYS="note"
27 NOTE-START
28 Version 18 said to work; use -opsystem=irist3-5 for system version 2.5
29 and -opsystem=iris3-6 for system versions 3.6 and up.
30 NOTE-END */
32 #if 0
33 Message-Id: <8705050653.AA20004@orville.arpa>
34 Subject: gnu emacs 18.41 on iris [23].5 machines
35 Date: 04 May 87 23:53:11 PDT (Mon)
36 From: raible@orville.arpa
38 Aside from the SIGIOT, I know of only one bug, a real strange one:
39 I wrote a utimes interface, which copies elements from timevals
40 to utimbufs. This code is known good. The problem is that in
41 emacs, the utime doesn't seem to take effect (i.e. doesn't change the
42 dates at all) unless I call report_file_error *after* the utime returns!
44 if (utime (name, &utb) < 0)
45 return;
46 else
47 /* XXX XXX XXX */
48 /* For some reason, if this is taken out, then the utime above breaks! */
49 /* (i.e. it doesn't set the time. This just makes no sense... */
50 /* Eric - May 4, 1987 */
51 report_file_error ("Worked just find\n", Qnil);
53 Without any sort of debugger that works on emacs (I know... but I dont have
54 *time* right now to start with gdb), it was quite time consuming to track
55 it down to this.
57 But since this code is only used for an optional 4th argument to one command
58 (copy-file), it would say that it is non-critical...
59 #endif /* 0 */
61 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
62 is the most significant byte. */
64 #define WORDS_BIG_ENDIAN
66 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
67 * group of arguments and treat it as an array of the arguments. */
69 /* #define NO_ARG_ARRAY */
71 /* Define WORD_MACHINE if addresses and such have
72 * to be corrected before they can be used as byte counts. */
74 /* #define WORD_MACHINE */
76 /* Now define a symbol for the cpu type, if your compiler
77 does not define it automatically:
78 Ones defined so far include vax, m68000, ns16000, pyramid,
79 orion, tahoe, APOLLO and many others */
81 #ifndef m68000
82 #define m68000
83 #endif
85 /* Use type int rather than a union, to represent Lisp_Object */
86 /* This is desirable for most machines. */
88 #define NO_UNION_TYPE
90 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
91 the 24-bit bit field into an int. In other words, if bit fields
92 are always unsigned.
94 If you use NO_UNION_TYPE, this flag does not matter. */
96 #define EXPLICIT_SIGN_EXTEND
98 /* Data type of load average, as read out of kmem. */
100 #define LOAD_AVE_TYPE long
102 /* Convert that into an integer that is 100 for a load average of 1.0 */
104 #define FSCALE 1.0
105 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
107 /* Define CANNOT_DUMP on machines where unexec does not work.
108 Then the function dump-emacs will not be defined
109 and temacs will do (load "loadup") automatically unless told otherwise. */
111 /* #define CANNOT_DUMP */
113 /* Define VIRT_ADDR_VARIES if the virtual addresses of
114 pure and impure space as loaded can vary, and even their
115 relative order cannot be relied on.
117 Otherwise Emacs assumes that text space precedes data space,
118 numerically. */
120 /* #define VIRT_ADDR_VARIES */
122 /* Define NO_REMAP if memory segmentation makes it not work well
123 to change the boundary between the text section and data section
124 when Emacs is dumped. If you define this, the preloaded Lisp
125 code will not be sharable; but that's better than failing completely. */
127 /* #define NO_REMAP */
129 /* There is an inconsistency between the sgi assembler, linker which barfs
130 on these. */
132 #define internal_with_output_to_temp_buffer stupid_long_name1
133 #define Finsert_abbrev_table_description stupid_long_name2
135 /* arch-tag: 4076b26c-1fe6-4c28-94f3-3c863f074767
136 (do not change this comment) */