Declare calloc like malloc.
[emacs.git] / src / m / orion105.h
blob52ed15c442a2f5811e06afc6f2eb8238cbfd302d
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 2, 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 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
27 is the most significant byte. */
29 #undef WORDS_BIG_ENDIAN
31 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
32 * group of arguments and treat it as an array of the arguments. */
34 #define NO_ARG_ARRAY
36 /* Define WORD_MACHINE if addresses and such have
37 * to be corrected before they can be used as byte counts. */
39 /* Use type int rather than a union, to represent Lisp_Object */
40 /* This is desirable for most machines. */
42 #define NO_UNION_TYPE
44 /* Data type of load average, as read out of kmem. */
45 /* This used to be `double'. */
47 #define LOAD_AVE_TYPE long
49 /* Convert that into an integer that is 100 for a load average of 1.0 */
51 /* This used to be 1.0. */
52 #ifndef FSCALE
53 #define FSCALE 256
54 #endif
55 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
57 /* HLH have a SIGWINCH defined (but unimplemented) so we need a sigmask */
58 #ifndef sigmask
59 #define sigmask(m) (1 << ((m) - 1))
60 #endif
62 #define HAVE_ALLOCA
64 /* Here is where programs actually start running */
65 #define TEXT_START 0x8000
66 #define LD_TEXT_START_ADDR 8000
68 /* Arguments to ignore before argc in crt0.c. */
69 #define DUMMIES dummy1, dummy2,