Changeset a992b8e in rtems


Ignore:
Timestamp:
Jan 24, 2005, 5:37:38 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
962c247e
Parents:
6d48403
Message:

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

  • rtems/score/sh.h: *_swap_u16( uint16_t ).
Location:
cpukit/score/cpu/sh
Files:
2 edited

Legend:

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

    r6d48403 ra992b8e  
     12005-01-24      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * rtems/score/sh.h: *_swap_u16( uint16_t ).
     4
    152005-01-24      Ralf Corsepius <ralf.corsepius@rtems.org>
    26
  • cpukit/score/cpu/sh/rtems/score/sh.h

    r6d48403 ra992b8e  
    202202}
    203203
    204 static inline unsigned int sh_swap_u16(
    205   unsigned int value
     204static inline uint16_t sh_swap_u16(
     205  uint16_t value
    206206)
    207207{
    208   register unsigned int swapped ;
     208  register uint16_t swapped ;
    209209
    210210  asm volatile ( "swap.b %1,%0" : "=r" (swapped) : "r"  (value) );
Note: See TracChangeset for help on using the changeset viewer.