Mercurial > hg > xemacs-beta
comparison src/m/mips.h @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 3ecd8885ac67 |
children | c69610198c35 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
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 |
73 /* Define CANNOT_DUMP on machines where unexec does not work. | 55 /* Define CANNOT_DUMP on machines where unexec does not work. |
74 Then the function dump-emacs will not be defined | 56 Then the function dump-emacs will not be defined |
75 and temacs will do (load "loadup") automatically unless told otherwise. */ | 57 and temacs will do (load "loadup") automatically unless told otherwise. */ |
76 | 58 |
77 #undef CANNOT_DUMP | 59 #undef CANNOT_DUMP |
78 | |
79 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
80 pure and impure space as loaded can vary, and even their | |
81 relative order cannot be relied on. | |
82 | |
83 Otherwise Emacs assumes that text space precedes data space, | |
84 numerically. */ | |
85 | |
86 /* #define VIRT_ADDR_VARIES */ | |
87 | 60 |
88 /* Define C_ALLOCA if this machine does not support a true alloca | 61 /* Define C_ALLOCA if this machine does not support a true alloca |
89 and the one written in C should be used instead. | 62 and the one written in C should be used instead. |
90 Define HAVE_ALLOCA to say that the system provides a properly | 63 Define HAVE_ALLOCA to say that the system provides a properly |
91 working alloca function and it should be used. | 64 working alloca function and it should be used. |
114 /* Describe layout of the address space in an executing process. */ | 87 /* Describe layout of the address space in an executing process. */ |
115 | 88 |
116 #ifdef linux | 89 #ifdef linux |
117 #define TEXT_START 0x00400000 | 90 #define TEXT_START 0x00400000 |
118 #define DATA_START 0x10000000 | 91 #define DATA_START 0x10000000 |
119 #define DATA_SEG_BITS 0x10000000 | |
120 #else /* !linux */ | 92 #else /* !linux */ |
121 #define TEXT_START 0x400000 | 93 #define TEXT_START 0x400000 |
122 #define DATA_START 0x800000 | 94 #define DATA_START 0x800000 |
123 #endif /* linux */ | 95 #endif /* linux */ |
124 | 96 |