[PATCH 22/25] score: Fixed CPUEndian in Bfin

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 29 10:53:07 UTC 2019


From: Andreas Dachsberger <andreas.dachsberger at embedded-brains.de>

Update #3706.
Will later vanish after next rebase
---
 cpukit/score/cpu/bfin/include/rtems/score/cpu.h | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/bfin/include/rtems/score/cpu.h b/cpukit/score/cpu/bfin/include/rtems/score/cpu.h
index 4b4e5b5868..9307305743 100644
--- a/cpukit/score/cpu/bfin/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/include/rtems/score/cpu.h
@@ -756,7 +756,16 @@ typedef CPU_Interrupt_frame CPU_Exception_frame;
 void _CPU_Exception_frame_print( const CPU_Exception_frame *frame );
 
 /**
- * @addtogroup CPUEndian
+ * 
+ * @defgroup RTEMSScoreCPUBfinCPUEndian CPUEndian
+ * 
+ * @ingroup RTEMSScoreCPUBfin
+ * 
+ * @brief CPUEndian
+ */
+/** @{ */
+/*
+ * 
  * The following routine swaps the endian format of an unsigned int.
  * It must be static because it is referenced indirectly.
  *
@@ -783,6 +792,7 @@ void _CPU_Exception_frame_print( const CPU_Exception_frame *frame );
  *
  * XXX document implementation including references if appropriate
  */
+
 static inline uint32_t CPU_swap_u32(
   uint32_t value
 )
@@ -799,7 +809,6 @@ static inline uint32_t CPU_swap_u32(
 }
 
 /**
- * @addtogroup CPUEndian
  * This routine swaps a 16 bir quantity.
  *
  * @param[in] value is the value to be swapped
@@ -807,6 +816,8 @@ static inline uint32_t CPU_swap_u32(
  */
 #define CPU_swap_u16( value ) \
   (((value&0xff) << 8) | ((value >> 8)&0xff))
+  
+/** @} */
 
 typedef uint32_t CPU_Counter_ticks;
 
-- 
2.16.4




More information about the devel mailing list