forked from Imagelibrary/rtems
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/i386.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/i386.h: *_swap_u32( uint32_t ).
|
||||
|
||||
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/i386.h: *_swap_u16( uint16_t ).
|
||||
|
||||
@@ -118,11 +118,11 @@ extern "C" {
|
||||
* It must be static so it can be referenced indirectly.
|
||||
*/
|
||||
|
||||
static inline unsigned int i386_swap_u32(
|
||||
unsigned int value
|
||||
static inline uint32_t i386_swap_u32(
|
||||
uint32_t value
|
||||
)
|
||||
{
|
||||
unsigned long lout;
|
||||
uint32_t lout;
|
||||
|
||||
#if (I386_HAS_BSWAP == 0)
|
||||
asm volatile( "rorw $8,%%ax;"
|
||||
|
||||
Reference in New Issue
Block a user