diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-16 08:46:29 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-16 08:46:29 +0000 |
commit | 89b85e510043235a115fe02b4ea97712a23cfd2b (patch) | |
tree | c090ddb62e7481e69514fa7f067ee40b29ab7ac3 /cpukit/score/cpu/arm | |
parent | 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-89b85e510043235a115fe02b4ea97712a23cfd2b.tar.bz2 |
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.
Diffstat (limited to 'cpukit/score/cpu/arm')
-rw-r--r-- | cpukit/score/cpu/arm/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/cpu.h | 15 | ||||
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/types.h | 11 |
3 files changed, 8 insertions, 23 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog index f6f4293b45..87ac53356b 100644 --- a/cpukit/score/cpu/arm/ChangeLog +++ b/cpukit/score/cpu/arm/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-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de> * rtems/score/cpu.h: Removed CPU_ENABLE_C_ISR_DISPATCH_IMPLEMENTATION 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 |