From 962c247e3ba36b718f07239d7de0c7e13ba09ad3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 24 Jan 2005 05:40:48 +0000 Subject: 2005-01-24 Ralf Corsepius * rtems/score/i386.h: *_swap_u32( uint32_t ). --- cpukit/score/cpu/i386/ChangeLog | 4 ++++ cpukit/score/cpu/i386/rtems/score/i386.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'cpukit/score/cpu/i386') diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog index 93e70a47e5..5ff74d77a8 100644 --- a/cpukit/score/cpu/i386/ChangeLog +++ b/cpukit/score/cpu/i386/ChangeLog @@ -1,3 +1,7 @@ +2005-01-24 Ralf Corsepius + + * rtems/score/i386.h: *_swap_u32( uint32_t ). + 2005-01-24 Ralf Corsepius * rtems/score/i386.h: *_swap_u16( uint16_t ). diff --git a/cpukit/score/cpu/i386/rtems/score/i386.h b/cpukit/score/cpu/i386/rtems/score/i386.h index 8bfb84347e..71acc5fa8f 100644 --- a/cpukit/score/cpu/i386/rtems/score/i386.h +++ b/cpukit/score/cpu/i386/rtems/score/i386.h @@ -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;" -- cgit v1.2.3