Nuke arch-tags.
[emacs.git] / src / m / template.h
bloba8e9e148b53689262c7505d61cd6bdc914b9d8cb
1 /* machine description file template.
3 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
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
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
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.
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21 /* Now define a symbol for the cpu type, if your compiler
22 does not define it automatically.
23 Ones defined so far include m68k and many others */
25 /* Data type of load average, as read out of kmem. */
26 #define LOAD_AVE_TYPE long
28 /* Convert that into an integer that is 100 for a load average of 1.0 */
29 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
31 /* Define VIRT_ADDR_VARIES if the virtual addresses of
32 pure and impure space as loaded can vary, and even their
33 relative order cannot be relied on.
35 Otherwise Emacs assumes that text space precedes data space,
36 numerically. */
37 #define VIRT_ADDR_VARIES
39 /* After adding support for a new machine, modify the large case
40 statement in configure.in to recognize reasonable
41 configuration names, and add a description of the system to
42 `etc/MACHINES'.
44 Check for any tests of $machine in configure.in, and add an entry
45 for the new machine if needed.
47 If you've just fixed a problem in an existing configuration file,
48 you should also check `etc/MACHINES' to make sure its descriptions
49 of known problems in that configuration should be updated. */