diff options
Diffstat (limited to 'cpukit/score/cpu/sh')
-rw-r--r-- | cpukit/score/cpu/sh/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/sh/rtems/score/cpu.h | 7 | ||||
-rw-r--r-- | cpukit/score/cpu/sh/rtems/score/types.h | 11 |
3 files changed, 8 insertions, 15 deletions
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog index 77d99344c6..22f0eb2247 100644 --- a/cpukit/score/cpu/sh/ChangeLog +++ b/cpukit/score/cpu/sh/ChangeLog @@ -1,3 +1,8 @@ +2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * rtems/score/cpu.h: Include <rtems/score/types.h> first. + * rtems/score/types.h: Use <rtems/score/basedefs.h> header file. + 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> PR 1573/cpukit diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h index 857cadefa6..946b58cac5 100644 --- a/cpukit/score/cpu/sh/rtems/score/cpu.h +++ b/cpukit/score/cpu/sh/rtems/score/cpu.h @@ -33,13 +33,8 @@ extern "C" { #endif -#include <rtems/score/sh.h> /* pick up machine definitions */ -#ifndef ASM #include <rtems/score/types.h> -#endif -#if 0 && defined(__SH4__) -#include <rtems/score/sh4_regs.h> -#endif +#include <rtems/score/sh.h> /* conditional compilation parameters */ diff --git a/cpukit/score/cpu/sh/rtems/score/types.h b/cpukit/score/cpu/sh/rtems/score/types.h index 7a159d28b9..bb17f96b61 100644 --- a/cpukit/score/cpu/sh/rtems/score/types.h +++ b/cpukit/score/cpu/sh/rtems/score/types.h @@ -29,10 +29,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" { @@ -47,12 +46,6 @@ typedef uint16_t Priority_Bit_map_control; typedef void sh_isr; typedef void ( *sh_isr_entry )( void ); -#ifdef RTEMS_DEPRECATED_TYPES -typedef bool boolean; /* Boolean value, external */ -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ -#endif - #ifdef __cplusplus } #endif |