mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-27 06:58:19 +00:00
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/sh.h: *_swap_u32( uint32_t ).
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/sh.h: *_swap_u32( uint32_t ).
|
||||
|
||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/sh.h: *_swap_u16( uint16_t ).
|
||||
|
||||
@@ -185,11 +185,11 @@ extern "C" {
|
||||
* It must be static because it is referenced indirectly.
|
||||
*/
|
||||
|
||||
static inline unsigned int sh_swap_u32(
|
||||
unsigned int value
|
||||
static inline uint32_t sh_swap_u32(
|
||||
uint32_t value
|
||||
)
|
||||
{
|
||||
register unsigned int swapped;
|
||||
register uint32_t swapped;
|
||||
|
||||
asm volatile (
|
||||
"swap.b %1,%0; "
|
||||
|
||||
Reference in New Issue
Block a user