annotate src/m/next.h @ 537:3e1b597754d7

Initial revision
author Jim Blandy <jimb@redhat.com>
date Thu, 06 Feb 1992 00:58:53 +0000
parents 38d1425bbae4
children 1ffd52c765c7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* Configuration file for the NeXT machine. */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2 /* Copyright (C) 1985, 1986 Free Software Foundation, Inc.
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 This file is part of GNU Emacs.
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 GNU Emacs is distributed in the hope that it will be useful,
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 but WITHOUT ANY WARRANTY. No author or distributor
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 accepts responsibility to anyone for the consequences of using it
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 or for whether it serves any particular purpose or works at all,
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 unless he says so in writing. Refer to the GNU Emacs General Public
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 License for full details.
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 Everyone is granted permission to copy, modify and redistribute
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 GNU Emacs, but only under the conditions described in the
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 GNU Emacs General Public License. A copy of this license is
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 supposed to have been given to you along with GNU Emacs so you
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 can know your rights and responsibilities. It should be in a
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 file named COPYING. Among other things, the copyright notice
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19 and this notice must be preserved on all copies. */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 /* The following three symbols give information on
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 the size of various data types. */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 #define SHORTBITS 16 /* Number of bits in a short */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #define INTBITS 32 /* Number of bits in an int */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 #define LONGBITS 32 /* Number of bits in a long */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
36 /* 68000 has lowest-numbered byte as most significant */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38 #define BIG_ENDIAN
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40 /* Define how to take a char and sign-extend into an int.
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
41 On machines where char is signed, this is a no-op. */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43 #define SIGN_EXTEND_CHAR(c) (c)
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 /* Say this machine is a 68000 */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 #ifndef m68000
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 #define m68000
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
49 #endif
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51 /* Use type int rather than a union, to represent Lisp_Object */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
52
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
53 #define NO_UNION_TYPE
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
54
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
55 /* Sun can't write competent compilers */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
56 #define COMPILER_REGISTER_BUG
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
57
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
58 /* XINT must explicitly sign-extend */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
59
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
60 #define EXPLICIT_SIGN_EXTEND
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
61
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
62 /* Data type of load average, as read out of kmem. */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
63
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
64 #define LOAD_AVE_TYPE long
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
65
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
66 /* Convert that into an integer that is 100 for a load average of 1.0 */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
67
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
68 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
69
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
70 /* Say that the text segment of a.out includes the header;
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
71 the header actually occupies the first few bytes of the text segment
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
72 and is counted in hdr.a_text. */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
73
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
74 #define A_TEXT_OFFSET(HDR) sizeof (HDR)
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
75
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76 /* #define _setjmp setjmp */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
77 /* #define _longjmp longjmp */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
78
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
79 /* Use dk.h, not dkstat.h, in loadst.c. */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
80
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
81 #define DK_HEADER_FILE
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
82 /* Mask for address bits within a memory segment */
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
83
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
84 #define SEGSIZ 0x20000
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
85 #define SEGMENT_MASK (SEGSIZ - 1)
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
86
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
87 #define HAVE_ALLOCA
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
88
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
89 #define SYSTEM_MALLOC
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
90
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
91 #define HAVE_UNIX_DOMAIN
38d1425bbae4 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
92