diff options
-rw-r--r-- | cpukit/score/cpu/sh/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/sh/rtems/score/sh.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog index 5f6cd9b2a1..c60074d563 100644 --- a/cpukit/score/cpu/sh/ChangeLog +++ b/cpukit/score/cpu/sh/ChangeLog @@ -1,5 +1,9 @@ 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> + * rtems/score/sh.h: *_swap_u32( uint32_t ). + +2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> + * rtems/score/sh.h: *_swap_u16( uint16_t ). 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> diff --git a/cpukit/score/cpu/sh/rtems/score/sh.h b/cpukit/score/cpu/sh/rtems/score/sh.h index f37ce1cdcf..011e019335 100644 --- a/cpukit/score/cpu/sh/rtems/score/sh.h +++ b/cpukit/score/cpu/sh/rtems/score/sh.h @@ -185,11 +185,11 @@ extern "C" { * It must be static because it is referenced indirectly. */ -static inline unsigned int sh_swap_u32( - unsigned int value +static inline uint32_t sh_swap_u32( + uint32_t value ) { - register unsigned int swapped; + register uint32_t swapped; asm volatile ( "swap.b %1,%0; " |