Mercurial > hg > xemacs-beta
comparison src/m/mips.h @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | 182f72e8cd0d |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
61 | 61 |
62 /* Convert that into an integer that is 100 for a load average of 1.0 */ | 62 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
63 | 63 |
64 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) | 64 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) |
65 | 65 |
66 #ifndef linux | |
67 /* CDC EP/IX 1.4.3 uses /unix */ | 66 /* CDC EP/IX 1.4.3 uses /unix */ |
68 | 67 |
69 #undef KERNEL_FILE | 68 #undef KERNEL_FILE |
70 #define KERNEL_FILE "/unix" | 69 #define KERNEL_FILE "/unix" |
71 #endif /* ! linux */ | |
72 | 70 |
73 /* Define CANNOT_DUMP on machines where unexec does not work. | 71 /* Define CANNOT_DUMP on machines where unexec does not work. |
74 Then the function dump-emacs will not be defined | 72 Then the function dump-emacs will not be defined |
75 and temacs will do (load "loadup") automatically unless told otherwise. */ | 73 and temacs will do (load "loadup") automatically unless told otherwise. */ |
76 | 74 |
106 #define NO_REMAP | 104 #define NO_REMAP |
107 | 105 |
108 /* This machine requires completely different unexec code | 106 /* This machine requires completely different unexec code |
109 which lives in a separate file. Specify the file name. */ | 107 which lives in a separate file. Specify the file name. */ |
110 | 108 |
111 #ifndef linux | |
112 #define UNEXEC "unexmips.o" | 109 #define UNEXEC "unexmips.o" |
113 #endif /* !linux */ | 110 |
114 /* Describe layout of the address space in an executing process. */ | 111 /* Describe layout of the address space in an executing process. */ |
115 | 112 |
116 #ifdef linux | |
117 #define TEXT_START 0x00400000 | |
118 #define DATA_START 0x10000000 | |
119 #define DATA_SEG_BITS 0x10000000 | |
120 #else /* !linux */ | |
121 #define TEXT_START 0x400000 | 113 #define TEXT_START 0x400000 |
122 #define DATA_START 0x800000 | 114 #define DATA_START 0x800000 |
123 #endif /* linux */ | |
124 | 115 |
125 /* Alter some of the options used when linking. */ | 116 /* Alter some of the options used when linking. */ |
126 | 117 |
127 #if !defined(NEWSOS5) && !defined(linux) | 118 #ifndef NEWSOS5 |
128 #ifdef BSD | 119 #ifdef BSD |
129 | 120 |
130 /* DECstations don't have this library. */ | 121 /* DECstations don't have this library. */ |
131 /* #define LIBS_MACHINE "-lmld" */ | 122 /* #define LIBS_MACHINE "-lmld" */ |
132 | 123 |
145 | 136 |
146 #define C_SWITCH_MACHINE "-I/usr/include/bsd" | 137 #define C_SWITCH_MACHINE "-I/usr/include/bsd" |
147 #define C_DEBUG_SWITCH "-O -g3" | 138 #define C_DEBUG_SWITCH "-O -g3" |
148 | 139 |
149 #endif /* not BSD */ | 140 #endif /* not BSD */ |
150 #endif /* !NEWSOS5 && !linux */ | 141 #endif /* not NEWSOS5 */ |
151 | 142 |
152 #if !defined(NEWSOS5) && !defined(linux) | 143 #ifndef NEWSOS5 |
153 #ifdef USG | 144 #ifdef USG |
154 | 145 |
155 /* Don't try to use SIGIO even though it is defined. */ | 146 /* Don't try to use SIGIO even though it is defined. */ |
156 #define BROKEN_SIGIO | 147 #define BROKEN_SIGIO |
157 | 148 |
174 #ifdef BSD | 165 #ifdef BSD |
175 #define COFF | 166 #define COFF |
176 #define TERMINFO | 167 #define TERMINFO |
177 #undef MAIL_USE_FLOCK /* Someone should check this. */ | 168 #undef MAIL_USE_FLOCK /* Someone should check this. */ |
178 #endif /* BSD */ | 169 #endif /* BSD */ |
179 #endif /* !NEWSOS5 && !linux */ | 170 #endif /* not NEWSOS5 */ |