[PATCH 24/25] score: Fixed CPUEndian in no_cpu

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


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

Update #3706.
Will later vanish after next rebase
---
 cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
index cda5506120..8e96911a73 100644
--- a/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
@@ -1134,8 +1134,16 @@ typedef struct {
 void _CPU_Exception_frame_print( const CPU_Exception_frame *frame );
 
 /**
- * @addtogroup CPUEndian
+ * @defgroup RTEMSScoreCPUExampleCPUEndian CPUEndian
  * 
+ * @ingroup RTEMSScoreCPUExample
+ * 
+ * @brief CPUEndian
+ *
+ */
+/** @{ */
+
+/**
  * The following routine swaps the endian format of an unsigned int.
  * It must be static because it is referenced indirectly.
  *
@@ -1178,8 +1186,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
@@ -1187,6 +1193,8 @@ static inline uint32_t CPU_swap_u32(
  */
 #define CPU_swap_u16( value ) \
   (((value&0xff) << 8) | ((value >> 8)&0xff))
+  
+/** @} */
 
 /**
  * @brief Unsigned integer type for CPU counter values.
-- 
2.16.4



More information about the devel mailing list