Changeset a992b8e in rtems
- Timestamp:
- Jan 24, 2005, 5:37:38 AM (16 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 962c247e
- Parents:
- 6d48403
- Location:
- cpukit/score/cpu/sh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/sh/ChangeLog
r6d48403 ra992b8e 1 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> 2 3 * rtems/score/sh.h: *_swap_u16( uint16_t ). 4 1 5 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> 2 6 -
cpukit/score/cpu/sh/rtems/score/sh.h
r6d48403 ra992b8e 202 202 } 203 203 204 static inline u nsigned int sh_swap_u16(205 u nsigned int value204 static inline uint16_t sh_swap_u16( 205 uint16_t value 206 206 ) 207 207 { 208 register u nsigned int swapped ;208 register uint16_t swapped ; 209 209 210 210 asm volatile ( "swap.b %1,%0" : "=r" (swapped) : "r" (value) );
Note: See TracChangeset
for help on using the changeset viewer.