*** empty log message ***
[emacs.git] / src / m / orion105.h
blob58371ca8d7fa4f9a67e0388521dbc86d284667d1
1 /* machine description file for HLH Orion 1/05 (Clipper).
2 Copyright (C) 1985 Free Software Foundation, Inc.
3 Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk>
5 This file is part of GNU Emacs.
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 1, or (at your option)
10 any later version.
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.
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22 /* The following line tells the configuration script what sort of
23 operating system this machine is likely to run.
24 USUAL-OPSYS="bsd4-2" */
26 /* The following three symbols give information on
27 the size of various data types. */
29 #define SHORTBITS 16 /* Number of bits in a short */
31 #define INTBITS 32 /* Number of bits in an int */
33 #define LONGBITS 32 /* Number of bits in a long */
35 /* Define BIG_ENDIAN iff lowest-numbered byte in a word
36 is the most significant byte. */
38 #undef BIG_ENDIAN
40 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
41 * group of arguments and treat it as an array of the arguments. */
43 #define NO_ARG_ARRAY
45 /* Define WORD_MACHINE if addresses and such have
46 * to be corrected before they can be used as byte counts. */
48 #define SIGN_EXTEND_CHAR(c) ((int)(c))
50 /* Use type int rather than a union, to represent Lisp_Object */
51 /* This is desirable for most machines. */
53 #define NO_UNION_TYPE
55 /* Data type of load average, as read out of kmem. */
56 /* This used to be `double'. */
58 #define LOAD_AVE_TYPE long
60 /* Convert that into an integer that is 100 for a load average of 1.0 */
62 /* This used to be 1.0. */
63 #ifndef FSCALE
64 #define FSCALE 256
65 #endif
66 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
68 /* HLH have a SIGWINCH defined (but unimplemented) so we need a sigmask */
69 #ifndef sigmask
70 #define sigmask(m) (1 << ((m) - 1))
71 #endif
73 #define HAVE_ALLOCA
75 /* Here is where programs actually start running */
76 #define TEXT_START 0x8000
77 #define LD_TEXT_START_ADDR 8000
79 /* Arguments to ignore before argc in crt0.c. */
80 #define DUMMIES dummy1, dummy2,