[PATCH 23/25] score: Fixed CPUEndian in lm32
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Mar 29 10:53:08 UTC 2019
From: Andreas Dachsberger <andreas.dachsberger at embedded-brains.de>
Update #3706.
Will later vanish after next rebase
---
cpukit/score/cpu/lm32/include/rtems/score/cpu.h | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/cpukit/score/cpu/lm32/include/rtems/score/cpu.h b/cpukit/score/cpu/lm32/include/rtems/score/cpu.h
index 12bdc495bf..d00d40505f 100644
--- a/cpukit/score/cpu/lm32/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/lm32/include/rtems/score/cpu.h
@@ -800,7 +800,15 @@ typedef CPU_Interrupt_frame CPU_Exception_frame;
void _CPU_Exception_frame_print( const CPU_Exception_frame *frame );
/**
- * @addtogroup CPUEndian
+ * @defgroup RTEMSScoreCPUlm32CPUEndian CPUEndian
+ *
+ * @ingroup RTEMSScoreCPUlm32
+ *
+ * @brief CPUEndian
+ */
+/** @{ */
+
+/**
* The following routine swaps the endian format of an unsigned int.
* It must be static because it is referenced indirectly.
*
@@ -843,7 +851,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
@@ -854,6 +861,8 @@ static inline uint16_t CPU_swap_u16(uint16_t v)
return v << 8 | v >> 8;
}
+/** @} */
+
typedef uint32_t CPU_Counter_ticks;
uint32_t _CPU_Counter_frequency( void );
--
2.16.4
More information about the devel
mailing list