diff options
Diffstat (limited to 'cpukit/score/cpu/mips/rtems')
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/cpu.h | 12 | ||||
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/types.h | 11 |
2 files changed, 3 insertions, 20 deletions
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index 13964ab235..c6592884ab 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -43,18 +43,8 @@ extern "C" { #endif -#include <rtems/score/mips.h> /* pick up machine definitions */ -#ifndef ASM #include <rtems/score/types.h> -#endif - -#ifndef TRUE -#define TRUE 1 -#endif -#ifndef FALSE -#define FALSE 0 -#endif - +#include <rtems/score/mips.h> /* conditional compilation parameters */ diff --git a/cpukit/score/cpu/mips/rtems/score/types.h b/cpukit/score/cpu/mips/rtems/score/types.h index 1bd5ae6669..e6a8de96bc 100644 --- a/cpukit/score/cpu/mips/rtems/score/types.h +++ b/cpukit/score/cpu/mips/rtems/score/types.h @@ -20,10 +20,9 @@ #ifndef _RTEMS_SCORE_TYPES_H #define _RTEMS_SCORE_TYPES_H -#ifndef ASM +#include <rtems/score/basedefs.h> -#include <stdbool.h> -#include <stdint.h> +#ifndef ASM #ifdef __cplusplus extern "C" { @@ -37,12 +36,6 @@ typedef uint16_t Priority_Bit_map_control; typedef void mips_isr; typedef void ( *mips_isr_entry )( void ); -#ifdef RTEMS_DEPRECATED_TYPES -typedef bool boolean; /* Boolean value */ -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ -#endif - #ifdef __cplusplus } #endif |