Mercurial > emacs
annotate src/m/gould-np1.h @ 84443:a3f695716ed6
*** empty log message ***
author | Michaël Cadilhac <michael.cadilhac@lrde.org> |
---|---|
date | Mon, 10 Sep 2007 09:53:45 +0000 |
parents | 6aba169c4b1f |
children | f27b84de02cf f55f9811f5d7 |
rev | line source |
---|---|
36226 | 1 /* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1) |
75227
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
2 Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, |
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
3 2006, 2007 Free Software Foundation, Inc. |
36226 | 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 | |
78258
6aba169c4b1f
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75227
diff
changeset
|
9 the Free Software Foundation; either version 3, or (at your option) |
36226 | 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 | |
64083 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
457 | 21 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
36226
diff
changeset
|
22 /* The following line tells the configuration script what sort of |
457 | 23 operating system this machine is likely to run. |
24 USUAL-OPSYS="bsd4-3" */ | |
25 | |
26 /* If your system uses COFF (Common Object File Format) then define the | |
27 preprocessor symbol "COFF". */ | |
28 /* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */ | |
29 /* at least currently, already defined by cpp, but make sure */ | |
30 #ifndef COFF | |
31 #define COFF | |
32 #endif COFF | |
33 | |
34 #include "gould.h" | |
35 | |
36 /* undefine what gould.h defined */ | |
37 #undef ADJUST_EXEC_HEADER | |
38 | |
39 /* If your system uses COFF (Common Object File Format) then define the | |
40 preprocessor symbol "COFF". */ | |
41 /* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */ | |
42 #ifndef COFF /* at least currently, already defined by cpp */ | |
43 #define COFF | |
44 #endif COFF | |
45 | |
46 /* make Gould NP1 and PN COFF look like USG COFF */ | |
47 /* NP1 COFF */ | |
48 #undef aouthdr /* Since gould.h already defined these */ | |
49 #undef a_dtbase | |
50 | |
51 #ifdef IN_UNEXEC | |
52 #define aouthdr exec | |
53 #define ADJUST_TEXT_SCNHDR_SIZE | |
54 | |
55 /* Gould COFF - these are already defined in gould.h */ | |
56 /* | |
57 * #define COFF_WITH_BSD_SYMTAB | |
58 * #define HEADER_INCL_IN_TEXT | |
59 * #define magic a_magic | |
60 * #define tsize a_text | |
61 * #define dsize a_data | |
62 * #define bsize a_bss | |
63 * #define entry a_entry | |
64 * #define text_start a_txbase | |
65 * #define data_start a_dtbase | |
66 */ | |
67 /* End Gould COFF */ | |
68 #endif /* IN_UNEXEC */ | |
69 | |
70 /* NP1 supports a slightly different set than PowerNode */ | |
71 #define BAUD_CONVERT { 0, 50, 75, 110, 134, 150, 300, 450, 600, 1200, \ | |
72 1800, 2000, 2400, 3600, 4800, 7200, 9600, \ | |
73 19200, 38400 } | |
74 | |
75 #define LD_SWITCH_SYSTEM -BS -e start | |
76 | |
77 /* Undef C_DEBUG_SWITCH because it may have been set in gould.h */ | |
78 /* It will compile and load and works with dbx. Runs under an incomplete | |
79 port of gdb, but gdb doesn't always find things correctly. */ | |
80 #undef C_DEBUG_SWITCH | |
81 #define C_DEBUG_SWITCH -g | |
82 #define LIBS_DEBUG -lg | |
83 | |
84 | |
85 /* The data segment in this machine always starts at address 0x1000000 = 16M. | |
86 An address of data cannot be stored correctly in a Lisp object; | |
87 we always lose the high bits. We must tell XPNTR to add them back. */ | |
88 | |
89 #define DATA_SEG_BITS 0x1000000 | |
90 #define DATA_START 0x1000000 | |
91 | |
92 /* The text segment always starts at 0. | |
93 This way we don't need to have a label _start defined. */ | |
94 #define TEXT_START 0 | |
95 | |
96 /* Data isn't right next to text on an NP1 */ | |
97 #define NO_REMAP | |
98 | |
99 /* The bcopy bug has reappeared */ | |
100 #undef BSTRING | |
101 | |
102 #ifndef GOULD_NP1 | |
103 #define GOULD_NP1 | |
104 #endif | |
105 | |
106 | |
52401 | 107 /* arch-tag: cdfd3dbf-a5e4-464d-8cef-985fb7872873 |
108 (do not change this comment) */ |