|
|
1.1 root 1: /* m- file for SEQUENT BALANCE machines
2: Copyright (C) 1985 Richard M. Stallman.
3:
4: This file is part of GNU Emacs.
5:
6: GNU Emacs is distributed in the hope that it will be useful,
7: but WITHOUT ANY WARRANTY. No author or distributor
8: accepts responsibility to anyone for the consequences of using it
9: or for whether it serves any particular purpose or works at all,
10: unless he says so in writing. Refer to the GNU Emacs General Public
11: License for full details.
12:
13: Everyone is granted permission to copy, modify and redistribute
14: GNU Emacs, but only under the conditions described in the
15: GNU Emacs General Public License. A copy of this license is
16: supposed to have been given to you along with GNU Emacs so you
17: can know your rights and responsibilities. It should be in a
18: file named COPYING. Among other things, the copyright notice
19: and this notice must be preserved on all copies. */
20:
21:
22: /* NOTE: this file works for DYNIX release 2.0
23: (not tested on 1.3) on NS32000's */
24:
25: /* The following three symbols give information on
26: the size of various data types. */
27:
28: #define SHORTBITS 16 /* Number of bits in a short */
29:
30: #define INTBITS 32 /* Number of bits in an int */
31:
32: #define LONGBITS 32 /* Number of bits in a long */
33:
34: /* Define BIG_ENDIAN iff lowest-numbered byte in a word
35: is the most significant byte. */
36:
37: /* #define BIG_ENDIAN */
38:
39: /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
40: * group of arguments and treat it as an array of the arguments. */
41:
42: /* #define NO_ARG_ARRAY */
43:
44: /* Define WORD_MACHINE if addresses and such have
45: * to be corrected before they can be used as byte counts. */
46:
47: /* #define WORD_MACHINE */
48:
49: /* Define how to take a char and sign-extend into an int.
50: On machines where char is signed, this is a no-op. */
51:
52: #define SIGN_EXTEND_CHAR(c) (c)
53:
54: /* Now define a symbol for the cpu type, if your compiler
55: does not define it automatically:
56: vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
57: are the ones defined so far. */
58:
59: /* BTW: DYNIX defines sequent, ns32000, and ns16000 (GENIX compatibility) */
60: #ifndef sequent /* pre DYNIX 2.1 releases */
61: # define sequent
62: #endif
63:
64: /* Use type int rather than a union, to represent Lisp_Object */
65: /* This is desirable for most machines. */
66:
67: #define NO_UNION_TYPE
68:
69: /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
70: the 24-bit bit field into an int. In other words, if bit fields
71: are always unsigned.
72:
73: If you use NO_UNION_TYPE, this flag does not matter. */
74:
75: #define EXPLICIT_SIGN_EXTEND
76:
77: /* Data type of load average, as read out of kmem. */
78:
79: #define LOAD_AVE_TYPE unsigned long
80:
81: /* Convert that into an integer that is 100 for a load average of 1.0 */
82:
83: #define FSCALE 1000.0
84: #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
85:
86: /* Define CANNOT_DUMP on machines where unexec does not work.
87: Then the function dump-emacs will not be defined
88: and temacs will do (load "loadup") automatically unless told otherwise. */
89:
90: /* #define CANNOT_DUMP */
91:
92: /* Define VIRT_ADDR_VARIES if the virtual addresses of
93: pure and impure space as loaded can vary, and even their
94: relative order cannot be relied on.
95:
96: Otherwise Emacs assumes that data space precedes text space,
97: numerically. */
98:
99: /* #define VIRT_ADDR_VARIES */
100:
101: /* Define C_ALLOCA if this machine does not support a true alloca
102: and the one written in C should be used instead.
103: Define HAVE_ALLOCA to say that the system provides a properly
104: working alloca function and it should be used.
105: Define neither one if an assembler-language alloca
106: in the file alloca.s should be used. */
107:
108: /* #define C_ALLOCA */
109: /* #define HAVE_ALLOCA */
110:
111: /* Name of file the to look in
112: for the kernel symbol table (for load average) */
113:
114: #define KERNEL_FILE "/dynix"
115:
116: /* Avoids a compiler bug */
117:
118: #define TAHOE_REGISTER_BUG
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.