Switch license to GPLv3 or later.
[bpt/emacs.git] / src / m / powerpcle.h
CommitLineData
863c15b6 1/* machine description file for PowerPC.
429ab54e
GM
2 Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005,
3 2006, 2007 Free Software Foundation, Inc.
863c15b6
DL
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
4a9f99bd 9the Free Software Foundation; either version 3, or (at your option)
863c15b6
DL
10any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs; see the file COPYING. If not, write to
3ef97fb6
LK
19the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, USA. */
863c15b6 21
177c0ea7 22/* The following line tells the configuration script what sort of
863c15b6
DL
23 operating system this machine is likely to run.
24 USUAL-OPSYS="Solaris2.5.1 Windows/NT AIX 4.1.2"
d0e2c63e 25*/
863c15b6
DL
26
27/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
28 is the most significant byte. */
29
30#undef WORDS_BIG_ENDIAN
31
32/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
33 * group of arguments and treat it as an array of the arguments. */
34
35#define NO_ARG_ARRAY
36
37/* Say this machine is a PowerPC Refernce Platform */
38
39#ifndef prep
40#define prep
41#endif
42
863c15b6
DL
43/* Use type int rather than a union, to represent Lisp_Object */
44
45#define NO_UNION_TYPE
46
47/* XINT must explicitly sign-extend */
48
49#define EXPLICIT_SIGN_EXTEND
50
51/* Data type of load average, as read out of kmem. */
52
53#define LOAD_AVE_TYPE long
54
55/* Convert that into an integer that is 100 for a load average of 1.0 */
56
57#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
58
863c15b6
DL
59/* Control a conditional in unexelf.c. */
60#define SOLARIS_POWERPC
ab5796a9
MB
61
62/* arch-tag: dc2c3cb6-4683-45ae-961f-0a4f2bda3c61
63 (do not change this comment) */