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/sparc64 | |
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/sparc64')
-rw-r--r-- | cpukit/score/cpu/sparc64/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc64/rtems/score/cpu.h | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc64/rtems/score/types.h | 11 |
3 files changed, 8 insertions, 12 deletions
diff --git a/cpukit/score/cpu/sparc64/ChangeLog b/cpukit/score/cpu/sparc64/ChangeLog index 169e2da61d..3a34d37551 100644 --- a/cpukit/score/cpu/sparc64/ChangeLog +++ b/cpukit/score/cpu/sparc64/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-15 Joel Sherrill <joel.sherrill@oarcorp.com> PR 1561/cpukit diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h index d3c0bb6ec1..70315d3382 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h @@ -27,10 +27,8 @@ extern "C" { #endif -#include <rtems/score/sparc64.h> /* pick up machine definitions */ -#ifndef ASM #include <rtems/score/types.h> -#endif +#include <rtems/score/sparc64.h> /* conditional compilation parameters */ diff --git a/cpukit/score/cpu/sparc64/rtems/score/types.h b/cpukit/score/cpu/sparc64/rtems/score/types.h index 3e86ba68a5..15009b5a1d 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/types.h +++ b/cpukit/score/cpu/sparc64/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 sparc_isr; typedef void ( *sparc_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 |