diff options
Diffstat (limited to 'cpukit/score/cpu/nios2/rtems/score')
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/cpu.h | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/types.h | 11 |
2 files changed, 3 insertions, 12 deletions
diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index f6ca30c691..7e7f30c97d 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -36,10 +36,8 @@ extern "C" { #endif -#include <rtems/score/nios2.h> /* pick up machine definitions */ -#ifndef ASM #include <rtems/score/types.h> -#endif +#include <rtems/score/nios2.h> /* conditional compilation parameters */ diff --git a/cpukit/score/cpu/nios2/rtems/score/types.h b/cpukit/score/cpu/nios2/rtems/score/types.h index 3795195929..1c577a25c8 100644 --- a/cpukit/score/cpu/nios2/rtems/score/types.h +++ b/cpukit/score/cpu/nios2/rtems/score/types.h @@ -19,10 +19,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" { @@ -36,12 +35,6 @@ typedef uint16_t Priority_Bit_map_control; typedef void nios2_isr; typedef void ( *nios2_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 |