[PATCH 10/25] score: Add or1k CPU architecture group

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


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

Update #3706.
---
 cpukit/score/cpu/or1k/include/rtems/asm.h           | 12 ++++++++++++
 cpukit/score/cpu/or1k/include/rtems/score/cpu.h     |  2 ++
 cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h | 12 ++++++++++++
 cpukit/score/cpu/or1k/or1k-exception-handler-low.S  |  2 +-
 4 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/or1k/include/rtems/asm.h b/cpukit/score/cpu/or1k/include/rtems/asm.h
index 2b4c1bd6c3..5f8326ed94 100644
--- a/cpukit/score/cpu/or1k/include/rtems/asm.h
+++ b/cpukit/score/cpu/or1k/include/rtems/asm.h
@@ -37,6 +37,16 @@
 #include <rtems/score/cpuopts.h>
 #include <rtems/score/or1k.h>
 
+/**
+ * @defgroup RTEMSScoreCPUor1kASM OpenRISC 1000 (or1k) Assembler Support
+ *
+ * @ingroup RTEMSScoreCPUor1k
+ *
+ * @brief OpenRISC 1000 (or1k) Assembler Support
+ *
+ * @{
+ */
+
 /*
  *  Recent versions of GNU cpp define variables which indicate the
  *  need for underscores and percents.  If not using GNU cpp or
@@ -96,4 +106,6 @@
 #define PUBLIC(sym) .global SYM (sym)
 #define EXTERN(sym) .global SYM (sym)
 
+/** @} */
+
 #endif
diff --git a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
index defa79ae08..2fb812d78e 100644
--- a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
@@ -1,5 +1,7 @@
 /**
  * @file
+ * 
+ * @addtogroup RTEMScoreCPUor1k
  */
 
 /*
diff --git a/cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h
index e9beab85c8..76da91fdec 100644
--- a/cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h
@@ -17,6 +17,16 @@
 
 #include <rtems/score/cpu.h>
 
+/**
+ * @defgroup RTEMSScoreCPUor1k OpenRISC 1000 (or1k)
+ *
+ * @ingroup RTEMSScoreCPU
+ *
+ * @brief OpenRISC 1000 (or1k) 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 */
diff --git a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S b/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
index cbf69df9fc..5bf6492946 100644
--- a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
+++ b/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
@@ -1,7 +1,7 @@
 /**
  * @file
  *
- * @ingroup RTEMSScoreCPU
+ * @addtogroup RTEMSScoreCPU
  *
  * @brief OR1K exception support implementation.
  */
-- 
2.16.4



More information about the devel mailing list