Changeset a04f371 in rtems


Ignore:
Timestamp:
Jan 24, 2005, 5:40:52 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
18ebea1
Parents:
962c247e
Message:

2005-01-24 Ralf Corsepius <ralf.corsepius@…>

  • rtems/score/m68k.h: *_swap_u32( uint32_t ).
Location:
cpukit/score/cpu/m68k
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/m68k/ChangeLog

    r962c247e ra04f371  
     12005-01-24      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * rtems/score/m68k.h: *_swap_u32( uint32_t ).
     4
    152005-01-24      Ralf Corsepius <ralf.corsepius@rtems.org>
    26
  • cpukit/score/cpu/m68k/rtems/score/m68k.h

    r962c247e ra04f371  
    340340 * generic implementation of endian swapping for Coldfire.
    341341 */
    342 static inline unsigned int m68k_swap_u32(
    343   unsigned int value
     342static inline uint32_t m68k_swap_u32(
     343  uint32_t value
    344344  )
    345345{
     
    364364#else
    365365
    366 static inline unsigned int m68k_swap_u32(
    367   unsigned int value
     366static inline uint32_t m68k_swap_u32(
     367  uint32_t value
    368368)
    369369{
    370   unsigned int swapped = value;
     370  uint32_t swapped = value;
    371371
    372372  asm volatile( "rorw  #8,%0" : "=d" (swapped) : "0" (swapped) );
Note: See TracChangeset for help on using the changeset viewer.