[PATCH 09/25] score: Add nios2 CPU architecture group
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Mar 29 10:52:54 UTC 2019
From: Andreas Dachsberger <andreas.dachsberger at embedded-brains.de>
Update #3706.
---
cpukit/score/cpu/nios2/include/rtems/asm.h | 12 ++++++++++++
cpukit/score/cpu/nios2/include/rtems/score/cpu.h | 2 ++
cpukit/score/cpu/nios2/include/rtems/score/cpuimpl.h | 12 ++++++++++++
3 files changed, 26 insertions(+)
diff --git a/cpukit/score/cpu/nios2/include/rtems/asm.h b/cpukit/score/cpu/nios2/include/rtems/asm.h
index 45ccd8b050..22f3988716 100644
--- a/cpukit/score/cpu/nios2/include/rtems/asm.h
+++ b/cpukit/score/cpu/nios2/include/rtems/asm.h
@@ -39,6 +39,16 @@
#include <rtems/score/cpuopts.h>
#include <rtems/score/nios2.h>
+/**
+ * @defgroup RTEMSScoreCPUnios2ASM nios2 Assembler Support
+ *
+ * @ingroup RTEMSScoreCPUnios2
+ *
+ * @brief nios2 Assembler Support
+ *
+ * @{
+ */
+
/*
* Recent versions of GNU cpp define variables which indicate the
* need for underscores and percents. If not using GNU cpp or
@@ -95,4 +105,6 @@
#define PUBLIC(sym) .globl SYM (sym)
#define EXTERN(sym) .globl SYM (sym)
+/** @} */
+
#endif
diff --git a/cpukit/score/cpu/nios2/include/rtems/score/cpu.h b/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
index 4a71987a32..0b32b75e09 100644
--- a/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
@@ -1,5 +1,7 @@
/**
* @file
+ *
+ * @addtogroup RTEMSScoreCPUnios2
*
* @brief Altera Nios II CPU Department Source
*/
diff --git a/cpukit/score/cpu/nios2/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/nios2/include/rtems/score/cpuimpl.h
index 5f8102009f..e5f326eeb7 100644
--- a/cpukit/score/cpu/nios2/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/nios2/include/rtems/score/cpuimpl.h
@@ -17,6 +17,16 @@
#include <rtems/score/cpu.h>
+/**
+ * @defgroup RTEMSScoreCPUnios2 Nios II (nios2)
+ *
+ * @ingroup RTEMSScoreCPU
+ *
+ * @brief Nios II (nios2) Architecture Support
+ *
+ * @{
+ */
+
#define CPU_PER_CPU_CONTROL_SIZE 0
#ifndef ASM
@@ -45,4 +55,6 @@ RTEMS_INLINE_ROUTINE void _CPU_Instruction_no_operation( void )
#endif /* ASM */
+/** @} */
+
#endif /* _RTEMS_SCORE_CPUIMPL_H */
--
2.16.4
More information about the devel
mailing list