Use autoconf determined WORDS_BIGENDIAN instead of hardcoded definition.
[bpt/emacs.git] / src / m / ibms390.h
CommitLineData
bb24a66d 1/* Machine description file for IBM S390 in 32-bit mode
6a321bbc
GM
2
3Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 2008, 2009, 2010 Free Software Foundation, Inc.
e64fed1d
EZ
5
6This file is part of GNU Emacs.
7
eb3d11ef 8GNU Emacs is free software: you can redistribute it and/or modify
e64fed1d 9it under the terms of the GNU General Public License as published by
eb3d11ef
GM
10the Free Software Foundation, either version 3 of the License, or
11(at your option) any later version.
e64fed1d
EZ
12
13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
eb3d11ef 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
e64fed1d
EZ
20
21
e64fed1d
EZ
22/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
23 the 24-bit bit field into an int. In other words, if bit fields
24 are always unsigned.
25
6e5cb96f 26 This flag only matters if you use USE_LISP_UNION_TYPE. */
e64fed1d
EZ
27#define EXPLICIT_SIGN_EXTEND
28
29/* Data type of load average, as read out of kmem. */
e64fed1d
EZ
30#define LOAD_AVE_TYPE long
31
32/* Convert that into an integer that is 100 for a load average of 1.0 */
e64fed1d
EZ
33#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
34
e64fed1d
EZ
35/* Define VIRT_ADDR_VARIES if the virtual addresses of
36 pure and impure space as loaded can vary, and even their
37 relative order cannot be relied on.
38
39 Otherwise Emacs assumes that text space precedes data space,
40 numerically. */
e64fed1d
EZ
41#define VIRT_ADDR_VARIES
42
ab5796a9
MB
43/* arch-tag: d8a0ffa4-a8f0-4736-90d3-7fd7b21b8314
44 (do not change this comment) */