diff options
| author | Dan Nicolaescu | 2008-07-21 18:19:30 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-21 18:19:30 +0000 |
| commit | b8ff87cc584b41ba7cc6b45a45c764e173b4cddf (patch) | |
| tree | 2f3f1deef035d8dee7d738879a72909c95019e85 /src/m | |
| parent | de08d1beb31907b85807b85a3c00b81c6893642d (diff) | |
| download | emacs-b8ff87cc584b41ba7cc6b45a45c764e173b4cddf.tar.gz emacs-b8ff87cc584b41ba7cc6b45a45c764e173b4cddf.zip | |
* m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used
on this platform.
(mips):
* m/iris4d.h (mips): Do not define.
* sysdep.c (init_sys_modes): Use __mips__ instead of mips.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/iris4d.h | 14 | ||||
| -rw-r--r-- | src/m/mips.h | 21 |
2 files changed, 0 insertions, 35 deletions
diff --git a/src/m/iris4d.h b/src/m/iris4d.h index ed055aa67df..923db142300 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h | |||
| @@ -28,13 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 28 | 28 | ||
| 29 | #define NO_ARG_ARRAY | 29 | #define NO_ARG_ARRAY |
| 30 | 30 | ||
| 31 | /* Now define a symbol for the cpu type, if your compiler | ||
| 32 | does not define it automatically. */ | ||
| 33 | |||
| 34 | #ifndef mips | ||
| 35 | #define mips | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 31 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 39 | the bit field into an int. In other words, if bit fields | 32 | the bit field into an int. In other words, if bit fields |
| 40 | are always unsigned. | 33 | are always unsigned. |
| @@ -43,13 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 43 | 36 | ||
| 44 | #define EXPLICIT_SIGN_EXTEND | 37 | #define EXPLICIT_SIGN_EXTEND |
| 45 | 38 | ||
| 46 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 47 | to change the boundary between the text section and data section | ||
| 48 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 49 | code will not be sharable; but that's better than failing completely. */ | ||
| 50 | |||
| 51 | #define NO_REMAP | ||
| 52 | |||
| 53 | /* This machine requires completely different unexec code | 39 | /* This machine requires completely different unexec code |
| 54 | which lives in a separate file. Specify the file name. */ | 40 | which lives in a separate file. Specify the file name. */ |
| 55 | 41 | ||
diff --git a/src/m/mips.h b/src/m/mips.h index ec26a86d988..d72cd8a8ccb 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -38,12 +38,6 @@ NOTE-END */ | |||
| 38 | 38 | ||
| 39 | #define NO_ARG_ARRAY | 39 | #define NO_ARG_ARRAY |
| 40 | 40 | ||
| 41 | /* Now define a symbol for the cpu type, if your compiler | ||
| 42 | does not define it automatically. */ | ||
| 43 | #ifndef mips | ||
| 44 | # define mips | ||
| 45 | #endif | ||
| 46 | |||
| 47 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 41 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 48 | the 24-bit bit field into an int. In other words, if bit fields | 42 | the 24-bit bit field into an int. In other words, if bit fields |
| 49 | are always unsigned. | 43 | are always unsigned. |
| @@ -52,21 +46,6 @@ NOTE-END */ | |||
| 52 | 46 | ||
| 53 | #define EXPLICIT_SIGN_EXTEND | 47 | #define EXPLICIT_SIGN_EXTEND |
| 54 | 48 | ||
| 55 | /* Data type of load average, as read out of kmem. */ | ||
| 56 | |||
| 57 | #define LOAD_AVE_TYPE long | ||
| 58 | |||
| 59 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 60 | |||
| 61 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) | ||
| 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 | /* Describe layout of the address space in an executing process. */ | 49 | /* Describe layout of the address space in an executing process. */ |
| 71 | 50 | ||
| 72 | #define TEXT_START 0x00400000 | 51 | #define TEXT_START 0x00400000 |