mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2003-08-14 Joel Sherrill <joel@OARcorp.com>
PR 455/bsps * rtems/score/cpu.h: Added missing CPU_swap_u16().
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2003-08-14 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
PR 455/bsps
|
||||
* rtems/score/cpu.h: Added missing CPU_swap_u16().
|
||||
|
||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
||||
|
||||
@@ -1162,7 +1162,7 @@ void _CPU_Context_restore_fp(
|
||||
*
|
||||
* H8300 Specific Information:
|
||||
*
|
||||
* XXX
|
||||
* This is the generic implementation.
|
||||
*/
|
||||
|
||||
static inline unsigned32 CPU_swap_u32(
|
||||
@@ -1180,6 +1180,9 @@ static inline unsigned32 CPU_swap_u32(
|
||||
return( swapped );
|
||||
}
|
||||
|
||||
#define CPU_swap_u16( value ) \
|
||||
(((value&0xff) << 8) | ((value >> 8)&0xff))
|
||||
|
||||
/* to be provided by the BSP */
|
||||
extern void H8BD_Install_IRQ(
|
||||
unsigned32 vector,
|
||||
|
||||
Reference in New Issue
Block a user