]> code.delx.au - gnu-emacs/blob - src/m/ia64.h
Convert consecutive FSF copyright years to ranges.
[gnu-emacs] / src / m / ia64.h
1 /* machine description file for the IA-64 architecture.
2
3 Copyright (C) 2000-2011 Free Software Foundation, Inc.
4
5 Contributed by David Mosberger <davidm@hpl.hp.com>
6
7 This file is part of GNU Emacs.
8
9 GNU Emacs is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 GNU Emacs is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21
22 #define BITS_PER_LONG 64
23 #define BITS_PER_EMACS_INT 64
24
25 /* Now define a symbol for the cpu type, if your compiler
26 does not define it automatically. */
27 /* __ia64__ defined automatically */
28
29 /* Define the type to use. */
30 #define EMACS_INT long
31 #define EMACS_UINT unsigned long
32
33 /* Data type of load average, as read out of kmem. */
34 #define LOAD_AVE_TYPE long
35
36 /* Convert that into an integer that is 100 for a load average of 1.0 */
37 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
38
39 #ifdef REL_ALLOC
40 #ifndef _MALLOC_INTERNAL
41 /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it
42 is allowed to prototype these as "void *" so we don't prototype in
43 that case. You're right: it stinks! */
44 extern char *r_alloc (), *r_re_alloc ();
45 extern void r_alloc_free ();
46 #endif /* not _MALLOC_INTERNAL */
47 #endif /* REL_ALLOC */
48