Commit | Line | Data |
---|---|---|
f4988be7 | 1 | /* machine description file for the IA-64 architecture. |
aaef169d TTN |
2 | Copyright (C) 2000, 2002, 2003, 2004, 2005, |
3 | 2006 Free Software Foundation, Inc. | |
f4988be7 GM |
4 | Contributed by David Mosberger <davidm@hpl.hp.com> |
5 | ||
6 | This file is part of GNU Emacs. | |
7 | ||
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 | |
4698665f | 10 | the Free Software Foundation; either version 2, or (at your option) |
f4988be7 GM |
11 | any later version. |
12 | ||
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. | |
17 | ||
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 | |
364c38d3 LK |
20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
21 | Boston, MA 02110-1301, USA. */ | |
f4988be7 GM |
22 | |
23 | #define BITS_PER_LONG 64 | |
24 | #define BITS_PER_EMACS_INT 64 | |
25 | ||
26 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | |
27 | is the most significant byte. */ | |
28 | ||
29 | #undef WORDS_BIG_ENDIAN | |
30 | ||
31 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | |
32 | group of arguments and treat it as an array of the arguments. */ | |
33 | ||
34 | #define NO_ARG_ARRAY | |
35 | ||
36 | /* Define WORD_MACHINE if addresses and such have | |
37 | to be corrected before they can be used as byte counts. */ | |
38 | ||
39 | /* #define WORD_MACHINE */ | |
40 | ||
41 | /* Now define a symbol for the cpu type, if your compiler | |
42 | does not define it automatically: | |
43 | Ones defined so far include vax, m68000, ns16000, pyramid, | |
44 | orion, tahoe, APOLLO and many others */ | |
45 | ||
46 | /* __ia64__ defined automatically */ | |
47 | ||
48 | ||
49 | /* Use type EMACS_INT rather than a union, to represent Lisp_Object */ | |
50 | /* This is desirable for most machines. */ | |
51 | ||
52 | #define NO_UNION_TYPE | |
53 | ||
54 | /* Define the type to use. */ | |
55 | #define EMACS_INT long | |
56 | #define EMACS_UINT unsigned long | |
57 | #define SPECIAL_EMACS_INT | |
58 | ||
59 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
60 | the 24-bit bit field into an int. In other words, if bit fields | |
61 | are always unsigned. | |
62 | ||
63 | If you use NO_UNION_TYPE, this flag does not matter. */ | |
64 | ||
65 | #define EXPLICIT_SIGN_EXTEND | |
66 | ||
67 | /* Data type of load average, as read out of kmem. */ | |
68 | ||
69 | #define LOAD_AVE_TYPE long | |
70 | ||
71 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
72 | ||
73 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
74 | ||
75 | /* Define CANNOT_DUMP on machines where unexec does not work. | |
76 | Then the function dump-emacs will not be defined | |
77 | and temacs will do (load "loadup") automatically unless told otherwise. */ | |
78 | #if 0 | |
79 | #define CANNOT_DUMP | |
80 | #endif | |
81 | ||
82 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
83 | pure and impure space as loaded can vary, and even their | |
84 | relative order cannot be relied on. | |
85 | ||
86 | Otherwise Emacs assumes that text space precedes data space, | |
87 | numerically. */ | |
88 | ||
89 | /* #define VIRT_ADDR_VARIES */ | |
90 | ||
f4988be7 GM |
91 | /* Define the following if GNU malloc and the relocating allocator do |
92 | not work together with X. */ | |
93 | ||
94 | /* #define SYSTEM_MALLOC */ | |
95 | ||
96 | /* Define NO_REMAP if memory segmentation makes it not work well | |
97 | to change the boundary between the text section and data section | |
98 | when Emacs is dumped. If you define this, the preloaded Lisp | |
99 | code will not be sharable; but that's better than failing completely. */ | |
100 | ||
101 | /* #define NO_REMAP */ | |
102 | ||
103 | /* Some really obscure 4.2-based systems (like Sequent DYNIX) do not | |
104 | support asynchronous I/O (using SIGIO) on sockets, even though it | |
105 | works fine on tty's. If you have one of these systems, define the | |
106 | following, and then use it in config.h (or elsewhere) to decide | |
107 | when (not) to use SIGIO. | |
108 | ||
109 | You'd think this would go in an operating-system description file, | |
110 | but since it only occurs on some, but not all, BSD systems, the | |
111 | reasonable place to select for it is in the machine description | |
112 | file. */ | |
113 | ||
114 | /* #define NO_SOCK_SIGIO */ | |
115 | ||
116 | #ifdef __ELF__ | |
117 | #undef UNEXEC | |
118 | #define UNEXEC unexelf.o | |
119 | #endif | |
120 | ||
121 | #define PNTR_COMPARISON_TYPE unsigned long | |
122 | ||
be4ee72f AS |
123 | #ifndef NOT_C_CODE |
124 | ||
f4988be7 GM |
125 | #ifdef REL_ALLOC |
126 | #ifndef _MALLOC_INTERNAL | |
127 | /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it | |
128 | is allowed to prototype these as "void *" so we don't prototype in | |
129 | that case. You're right: it stinks! */ | |
130 | extern char *r_alloc (), *r_re_alloc (); | |
131 | extern void r_alloc_free (); | |
132 | #endif /* not _MALLOC_INTERNAL */ | |
133 | #endif /* REL_ALLOC */ | |
134 | ||
135 | #endif /* not NOT_C_CODE */ | |
136 | ||
f4988be7 | 137 | #define HAVE_TEXT_START |
ab5796a9 MB |
138 | |
139 | /* arch-tag: 9b8e9fb2-2e49-4c22-b68f-11a488e77c66 | |
140 | (do not change this comment) */ |