Mercurial > hg > xemacs-beta
annotate src/m/hp800.h @ 5478:7a86df313e0e
Update CHANGES-beta for 21.5.31.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Fri, 29 Apr 2011 20:33:47 +0900 |
parents | 308d34e9f07d |
children | 1f0b15040456 |
rev | line source |
---|---|
428 | 1 /* machine description file for hp9000 series 800 machines. |
2 Copyright (C) 1987 Free Software Foundation, Inc. | |
3 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
4 This file is part of XEmacs. |
428 | 5 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
6 XEmacs is free software: you can redistribute it and/or modify it |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
7 under the terms of the GNU General Public License as published by the |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
8 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
9 option) any later version. |
428 | 10 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
14 for more details. |
428 | 15 |
16 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
17 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
428 | 18 |
19 /* Synched up with: FSF 19.31. */ | |
20 | |
21 /* The following line tells the configuration script what sort of | |
22 operating system this machine is likely to run. | |
23 USUAL-OPSYS="hpux" */ | |
24 | |
25 /* Now define a symbol for the cpu type, if your compiler | |
26 does not define it automatically: | |
27 Ones defined so far include vax, m68000, ns16000, pyramid, | |
28 orion, tahoe, APOLLO and many others */ | |
29 #ifndef hp9000s800 | |
30 # define hp9000s800 | |
31 #endif | |
32 | |
33 | |
34 #ifdef __hpux | |
35 /* Now define a symbol for the cpu type, if your compiler | |
36 does not define it automatically: | |
37 Ones defined so far include vax, m68000, ns16000, pyramid, | |
38 orion, tahoe, APOLLO and many others */ | |
39 #ifndef hp9000s800 | |
40 # define hp9000s800 | |
41 #endif | |
42 | |
43 /* Data type of load average, as read out of kmem. */ | |
44 | |
45 #define LOAD_AVE_TYPE double | |
46 | |
47 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
48 | |
49 #define LOAD_AVE_CVT(x) ((int) (x * 100.0)) | |
50 | |
51 /* the data segment on this machine always starts at address 0x40000000. */ | |
52 | |
53 #ifdef DATA_START | |
54 #undef DATA_START | |
55 #endif | |
56 #ifdef TEXT_START | |
57 #undef TEXT_START | |
58 #endif | |
59 | |
60 #define DATA_START 0x40000000 | |
61 #define TEXT_START 0x00000000 | |
62 | |
63 /* Define NO_REMAP if memory segmentation makes it not work well | |
64 to change the boundary between the text section and data section | |
65 when Emacs is dumped. If you define this, the preloaded Lisp | |
66 code will not be sharable; but that's better than failing completely. */ | |
67 | |
68 #define NO_REMAP | |
69 | |
70 /* This machine requires completely different unexec code | |
71 which lives in a separate file. Specify the file name. */ | |
72 | |
73 #define UNEXEC "unexhp9k800.o" | |
74 | |
75 #define LIBS_MACHINE | |
76 #define LIBS_DEBUG | |
77 | |
78 | |
79 /* The symbol in the kernel where the load average is found | |
80 is named _avenrun. At this time there are two major flavors | |
81 of hp-ux (there is the s800 and s300 (s200) flavors). The | |
82 differences are thusly moved to the corresponding machine description file. | |
83 */ | |
84 | |
85 /* no underscore please */ | |
86 #define LDAV_SYMBOL "avenrun" | |
87 | |
88 #if 0 /* Supposedly no longer true. */ | |
89 /* In hpux, for unknown reasons, S_IFLNK is defined even though | |
90 symbolic links do not exist. | |
91 Make sure our conditionals based on S_IFLNK are not confused. | |
92 | |
93 Here we assume that stat.h is included before config.h | |
94 so that we can override it here. */ | |
95 | |
96 #undef S_IFLNK | |
97 #endif | |
98 | |
99 #endif /* __hpux */ |