Changeset c937e8fc in rtems
- Timestamp:
- 11/09/11 15:15:40 (12 years ago)
- Branches:
- 4.10
- Children:
- e3fbffb
- Parents:
- 41fb7c4
- Location:
- cpukit/score/cpu/lm32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/lm32/ChangeLog
r41fb7c4 rc937e8fc 1 2011-11-09 Werner Almesberger <werner@almesberger.net> 2 3 PR 1955/cpukit 4 * rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline. 5 1 6 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org> 2 7 -
cpukit/score/cpu/lm32/rtems/score/cpu.h
r41fb7c4 rc937e8fc 1273 1273 * @return the value after being endian swapped 1274 1274 */ 1275 #define CPU_swap_u16( value ) \ 1276 (((value&0xff) << 8) | ((value >> 8)&0xff)) 1275 static inline uint16_t CPU_swap_u16(uint16_t v) 1276 { 1277 return v << 8 | v >> 8; 1278 } 1277 1279 1278 1280 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.