Mercurial > hg > xemacs-beta
comparison src/m/mips.h @ 400:a86b2b5e0111 r21-2-30
Import from CVS: tag r21-2-30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:14:34 +0200 |
parents | 74fd4e045ea6 |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
399:376370fb5946 | 400:a86b2b5e0111 |
---|---|
27 NOTE-START | 27 NOTE-START |
28 Use m-mips4.h for RISCOS version 4; use s-bsd4-3.h with the BSD world. | 28 Use m-mips4.h for RISCOS version 4; use s-bsd4-3.h with the BSD world. |
29 Note that the proper m- file for the Decstation is m-pmax.h. | 29 Note that the proper m- file for the Decstation is m-pmax.h. |
30 NOTE-END */ | 30 NOTE-END */ |
31 | 31 |
32 /* Define WORD_MACHINE if addresses and such have | |
33 * to be corrected before they can be used as byte counts. */ | |
34 | |
35 #undef WORD_MACHINE | |
36 | |
37 /* Define how to take a char and sign-extend into an int. | |
38 On machines where char is signed, this is a no-op. */ | |
39 | |
40 #define SIGN_EXTEND_CHAR(c) ((signed char)(c)) | |
41 | |
42 /* Now define a symbol for the cpu type, if your compiler | 32 /* Now define a symbol for the cpu type, if your compiler |
43 does not define it automatically: | 33 does not define it automatically: |
44 Ones defined so far include vax, m68000, ns16000, pyramid, | 34 Ones defined so far include vax, m68000, ns16000, pyramid, |
45 orion, tahoe, APOLLO and many others */ | 35 orion, tahoe, APOLLO and many others */ |
46 #ifndef mips | 36 #ifndef mips |
47 # define mips | 37 # define mips |
48 #endif | 38 #endif |
49 | |
50 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
51 the bit field into an int. In other words, if bit fields | |
52 are always unsigned. | |
53 | |
54 If you use NO_UNION_TYPE, this flag does not matter. */ | |
55 | |
56 #define EXPLICIT_SIGN_EXTEND | |
57 | 39 |
58 /* Data type of load average, as read out of kmem. */ | 40 /* Data type of load average, as read out of kmem. */ |
59 | 41 |
60 #define LOAD_AVE_TYPE long | 42 #define LOAD_AVE_TYPE long |
61 | 43 |
114 /* Describe layout of the address space in an executing process. */ | 96 /* Describe layout of the address space in an executing process. */ |
115 | 97 |
116 #ifdef linux | 98 #ifdef linux |
117 #define TEXT_START 0x00400000 | 99 #define TEXT_START 0x00400000 |
118 #define DATA_START 0x10000000 | 100 #define DATA_START 0x10000000 |
119 #define DATA_SEG_BITS 0x10000000 | |
120 #else /* !linux */ | 101 #else /* !linux */ |
121 #define TEXT_START 0x400000 | 102 #define TEXT_START 0x400000 |
122 #define DATA_START 0x800000 | 103 #define DATA_START 0x800000 |
123 #endif /* linux */ | 104 #endif /* linux */ |
124 | 105 |