]> code.delx.au - gnu-emacs/blob - src/m/template.h
Convert consecutive FSF copyright years to ranges.
[gnu-emacs] / src / m / template.h
1 /* machine description file template.
2
3 Copyright (C) 1985-1986, 2001-2011 Free Software Foundation, Inc.
4
5 This file is part of GNU Emacs.
6
7 GNU Emacs is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20 /* Now define a symbol for the cpu type, if your compiler
21 does not define it automatically.
22 Ones defined so far include m68k and many others */
23
24 /* Data type of load average, as read out of kmem. */
25 #define LOAD_AVE_TYPE long
26
27 /* Convert that into an integer that is 100 for a load average of 1.0 */
28 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
29
30 /* Define VIRT_ADDR_VARIES if the virtual addresses of
31 pure and impure space as loaded can vary, and even their
32 relative order cannot be relied on.
33
34 Otherwise Emacs assumes that text space precedes data space,
35 numerically. */
36 #define VIRT_ADDR_VARIES
37
38 /* After adding support for a new machine, modify the large case
39 statement in configure.in to recognize reasonable
40 configuration names, and add a description of the system to
41 `etc/MACHINES'.
42
43 Check for any tests of $machine in configure.in, and add an entry
44 for the new machine if needed.
45
46 If you've just fixed a problem in an existing configuration file,
47 you should also check `etc/MACHINES' to make sure its descriptions
48 of known problems in that configuration should be updated. */
49