Wand updates from Evgeny
[sxemacs] / src / m / cydra5.h
1 /* machine description file for Cydrome's CYDRA 5 mini super computer
2    Copyright (C) 1988 Free Software Foundation, Inc.
3
4 This file is part of SXEmacs
5
6 SXEmacs is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 SXEmacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program.  If not, see <http://www.gnu.org/licenses/>. */
18
19
20 /* Synched up with: FSF 19.31. */
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-3"  */
25
26 /* Now define a symbol for the cpu type, if your compiler
27    does not define it automatically:
28    Ones defined so far include vax, m68000, ns16000, pyramid,
29    orion, tahoe, APOLLO and many others */
30
31 /* Data type of load average, as read out of kmem.  */
32
33 #define LOAD_AVE_TYPE long
34
35 /* Convert that into an integer that is 100 for a load average of 1.0  */
36
37 #define LOAD_AVE_CVT(x) x
38
39 /* Define CANNOT_DUMP on machines where unexec does not work.
40    Then the function dump-emacs will not be defined
41    and temacs will do (load "loadup") automatically unless told otherwise.  */
42
43 /*#define CANNOT_DUMP*/
44
45 /* Define C_ALLOCA if this machine does not support a true alloca
46    and the one written in C should be used instead.
47    Define HAVE_ALLOCA to say that the system provides a properly
48    working alloca function and it should be used.
49    Define neither one if an assembler-language alloca
50    in the file alloca.s should be used.  */
51
52 #define C_ALLOCA
53 #undef HAVE_ALLOCA
54
55 #define DATA_START    0x20000000
56
57 /* Define NO_REMAP if memory segmentation makes it not work well
58    to change the boundary between the text section and data section
59    when Emacs is dumped.  If you define this, the preloaded Lisp
60    code will not be sharable; but that's better than failing completely.  */
61
62 #define NO_REMAP
63 #define LIBS_MACHINE "-lsocket -lnsl"
64
65 /* Stack grows downward in memory.  */
66 #define STACK_DIRECTION -1
67
68 /* The data section in a coff file must be aligned in the file.  */
69 #define DATA_SECTION_ALIGNMENT  0xFFF
70
71 /* Compiler won't allow switch (x) when x is an enum.  */
72 #define SWITCH_ENUM_BUG
73
74 /* Explain how pty filenames work.  */
75
76 #define PTY_ITERATION  for (i = 47; i >= 0; i--)
77 #define PTY_NAME_SPRINTF  snprintf (ptyname, sizeof(ptyname), "/dev/pty%03x", i);
78 #define PTY_TTY_NAME_SPRINTF  snprintf (ptyname, sizeof(ptyname), "/dev/ptm%03x", i);
79
80 /* We can't do interrupt-driven input, so don't let user try.  */
81
82 #define BROKEN_SIGIO