Mercurial > emacs
annotate src/m/nh3000.h @ 36757:23382dbfb9d0
(read_multibyte): Check the validity of multibyte sequence. If
invalid, return the first byte.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 13 Mar 2001 06:04:12 +0000 |
parents | ee40177f6c68 |
children | 4be8406ebef9 |
rev | line source |
---|---|
12249 | 1 /* machine description for Harris Night Hawk Series 1200 and Series 3000 |
2 MC68030-based systems (FPP on these is custom). These systems are | |
3 also known as "ecx" and "gcx". | |
4 Copyright (C) 1994 Free Software Foundation, Inc. | |
5 | |
6 This file is part of GNU Emacs. | |
7 | |
8 GNU Emacs is free software; you can redistribute it and/or modify | |
9 it under the terms of the GNU General Public License as published by | |
10 the Free Software Foundation; either version 2, or (at your option) | |
11 any later version. | |
12 | |
13 GNU Emacs is distributed in the hope that it will be useful, | |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 GNU General Public License for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
19 along with GNU Emacs; see the file COPYING. If not, write to | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
21 Boston, MA 02111-1307, USA. */ |
12249 | 22 |
23 /* This file manually constructed for Harris Night Hawk 4000 (and 5000) | |
24 * series Motorola 88100 and 88110 based machines. | |
25 */ | |
26 | |
27 /* The following line tells the configuration script what sort of | |
28 operating system this machine is likely to run. | |
29 USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ | |
30 | |
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. */ | |
33 | |
34 #define NO_ARG_ARRAY | |
35 | |
36 /* Define WORD_MACHINE if addresses and such have | |
37 * to be corrected before they can be used as byte counts. */ | |
38 | |
39 /* #define WORD_MACHINE */ | |
40 | |
41 /* Now define a symbol for the cpu type, if your compiler | |
42 does not define it automatically: | |
43 Ones defined so far include vax, m68000, ns16000, pyramid, | |
44 orion, tahoe, APOLLO and many others */ | |
45 | |
46 #ifndef gcx | |
47 #define gcx | |
48 #endif | |
49 | |
50 /* Use type int rather than a union, to represent Lisp_Object */ | |
51 /* This is desirable for most machines. */ | |
52 | |
53 #define NO_UNION_TYPE | |
54 | |
55 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
56 the 24-bit bit field into an int. In other words, if bit fields | |
57 are always unsigned. | |
58 | |
59 If you use NO_UNION_TYPE, this flag does not matter. */ | |
60 | |
61 /* #define EXPLICIT_SIGN_EXTEND */ | |
62 | |
63 /* Data type of load average, as read out of kmem. */ | |
64 | |
65 #define LOAD_AVE_TYPE long | |
66 | |
67 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
68 | |
69 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
70 | |
71 /* Define CANNOT_DUMP on machines where unexec does not work. | |
72 Then the function dump-emacs will not be defined | |
73 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
74 | |
75 /* #define CANNOT_DUMP */ | |
76 | |
77 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
78 pure and impure space as loaded can vary, and even their | |
79 relative order cannot be relied on. | |
80 | |
81 Otherwise Emacs assumes that text space precedes data space, | |
82 numerically. */ | |
83 | |
84 /* #define VIRT_ADDR_VARIES */ | |
85 | |
86 /* Define C_ALLOCA if this machine does not support a true alloca | |
87 and the one written in C should be used instead. | |
88 Define HAVE_ALLOCA to say that the system provides a properly | |
89 working alloca function and it should be used. | |
90 Define neither one if an assembler-language alloca | |
91 in the file alloca.s should be used. */ | |
92 | |
93 /* #define C_ALLOCA */ | |
94 #define HAVE_ALLOCA | |
95 | |
96 /* Define NO_REMAP if memory segmentation makes it not work well | |
97 to change the boundary between the text section and data section | |
98 when Emacs is dumped. If you define this, the preloaded Lisp | |
99 code will not be sharable; but that's better than failing completely. */ | |
100 | |
101 #define NO_REMAP | |
102 | |
103 /* Some really obscure 4.2-based systems (like Sequent DYNIX) | |
104 * do not support asynchronous I/O (using SIGIO) on sockets, | |
105 * even though it works fine on tty's. If you have one of | |
106 * these systems, define the following, and then use it in | |
107 * config.h (or elsewhere) to decide when (not) to use SIGIO. | |
108 * | |
109 * You'd think this would go in an operating-system description file, | |
110 * but since it only occurs on some, but not all, BSD systems, the | |
111 * reasonable place to select for it is in the machine description | |
112 * file. | |
113 */ | |
114 | |
115 /* #define NO_SOCK_SIGIO */ |