diff options
Diffstat (limited to 'cpukit/score/cpu/arm/rtems/score')
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/cpu.h | 15 | ||||
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/types.h | 11 |
2 files changed, 3 insertions, 23 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h index 8f13d41c16..60b152fad5 100644 --- a/cpukit/score/cpu/arm/rtems/score/cpu.h +++ b/cpukit/score/cpu/arm/rtems/score/cpu.h @@ -33,22 +33,9 @@ #ifndef _RTEMS_SCORE_CPU_H #define _RTEMS_SCORE_CPU_H +#include <rtems/score/types.h> #include <rtems/score/arm.h> -#ifndef ASM - #include <rtems/score/types.h> -#endif - -#ifndef TRUE - #warning "TRUE not defined" - #define TRUE 1 -#endif - -#ifndef FALSE - #warning "FALSE not defined" - #define FALSE 0 -#endif - /** * @defgroup ScoreCPUARM ARM Specific Support * diff --git a/cpukit/score/cpu/arm/rtems/score/types.h b/cpukit/score/cpu/arm/rtems/score/types.h index 16b988a107..1c07abe00e 100644 --- a/cpukit/score/cpu/arm/rtems/score/types.h +++ b/cpukit/score/cpu/arm/rtems/score/types.h @@ -24,10 +24,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" { @@ -45,12 +44,6 @@ extern "C" { typedef uint16_t Priority_Bit_map_control; -#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 |