Mercurial > emacs
comparison src/m/7300.h @ 456:c0335c02f1d7
Initial revision
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Fri, 13 Dec 1991 18:49:49 +0000 |
parents | |
children | 1ffd52c765c7 |
comparison
equal
deleted
inserted
replaced
455:12af79cf16ee | 456:c0335c02f1d7 |
---|---|
1 /* machine description file for AT&T UNIX PC model 7300 | |
2 Copyright (C) 1986 Free Software Foundation, Inc. | |
3 Modified for this machine by mtxinu!rtech!gonzo!daveb | |
4 | |
5 This file is part of GNU Emacs. | |
6 | |
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. | |
11 | |
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. | |
16 | |
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. */ | |
20 | |
21 | |
22 /* The following line tells the configuration script what sort of | |
23 operating system this machine is likely to run. | |
24 USUAL-OPSYS="usg5-2-2" */ | |
25 | |
26 /* Supposedly now these machines have flexnames. | |
27 | |
28 /* # define SHORTNAMES */ | |
29 | |
30 | |
31 /* The following three symbols give information on | |
32 the size of various data types. */ | |
33 | |
34 #define SHORTBITS 16 /* Number of bits in a short */ | |
35 | |
36 #define INTBITS 32 /* Number of bits in an int */ | |
37 | |
38 #define LONGBITS 32 /* Number of bits in a long */ | |
39 | |
40 /* Define BIG_ENDIAN iff lowest-numbered byte in a word | |
41 is the most significant byte. */ | |
42 | |
43 #define BIG_ENDIAN | |
44 | |
45 /* XINT must explicitly sign-extend */ | |
46 | |
47 #define EXPLICIT_SIGN_EXTEND | |
48 | |
49 /* Define how to take a char and sign-extend into an int. | |
50 On machines where char is signed, this is a no-op. */ | |
51 | |
52 #define SIGN_EXTEND_CHAR(c) (c) | |
53 | |
54 /* Use type int rather than a union, to represent Lisp_Object */ | |
55 | |
56 #define NO_UNION_TYPE | |
57 | |
58 /* Now define a symbol for the cpu type, if your compiler | |
59 does not define it automatically: | |
60 vax, m68000, ns16000 are the ones defined so far. */ | |
61 | |
62 # ifndef mc68k | |
63 # define mc68k | |
64 # endif | |
65 #ifndef m68k | |
66 #define m68k | |
67 #endif | |
68 | |
69 /* Cause crt0.c to define errno. */ | |
70 | |
71 #define NEED_ERRNO | |
72 | |
73 /* Data type of load average, as read out of kmem. */ | |
74 /* These are commented out since it is not supported by this machine. */ | |
75 | |
76 /* #define LOAD_AVE_TYPE long */ | |
77 | |
78 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
79 | |
80 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | |
81 | |
82 #define SWITCH_ENUM_BUG | |
83 | |
84 /* These three lines were new in 18.50. They were said to permit | |
85 a demand-paged executable, but someone else says they don't work. | |
86 Someone else says they do. They didn't work because errno was an | |
87 initialized variable in crt0.c, and because of %splimit (also therein), | |
88 both of which have been fixed now. */ | |
89 #define SECTION_ALIGNMENT 0x03ff | |
90 #define SEGMENT_MASK 0xffff | |
91 #define LD_SWITCH_MACHINE -z |