diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-24 05:43:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-24 05:43:40 +0000 |
commit | ec8973ed4840615a0d4f27df601b72400bd450f3 (patch) | |
tree | d66da82bb2cd88ce79490d3d1fcb7c2eac6d0b91 /cpukit/score/cpu/c4x | |
parent | 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ec8973ed4840615a0d4f27df601b72400bd450f3.tar.bz2 |
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: *_swap_u32( uint32_t ).
Diffstat (limited to 'cpukit/score/cpu/c4x')
-rw-r--r-- | cpukit/score/cpu/c4x/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/c4x/rtems/score/cpu.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/cpu/c4x/ChangeLog b/cpukit/score/cpu/c4x/ChangeLog index 1c5935fb05..e4638a8ad2 100644 --- a/cpukit/score/cpu/c4x/ChangeLog +++ b/cpukit/score/cpu/c4x/ChangeLog @@ -1,5 +1,9 @@ 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> + * rtems/score/cpu.h: *_swap_u32( uint32_t ). + +2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> + * rtems/score/types.h: #include <rtems/stdint.h>. 2005-01-07 Ralf Corsepius <ralf.corsepius@freenet.de> diff --git a/cpukit/score/cpu/c4x/rtems/score/cpu.h b/cpukit/score/cpu/c4x/rtems/score/cpu.h index 76559a8c8a..f667b9234f 100644 --- a/cpukit/score/cpu/c4x/rtems/score/cpu.h +++ b/cpukit/score/cpu/c4x/rtems/score/cpu.h @@ -1236,8 +1236,8 @@ void _CPU_Context_restore_fp( * XXXanswer */ -static inline unsigned int CPU_swap_u32( - unsigned int value +static inline uint32_t CPU_swap_u32( + uint32_t value ) { uint32_t byte1, byte2, byte3, byte4, swapped; |