[PATCH 14/25] score: Add SPARC CPU architecture group

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


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

Update #3706.
---
 cpukit/score/cpu/sparc/include/rtems/asm.h           | 12 ++++++++++++
 cpukit/score/cpu/sparc/include/rtems/score/cpu.h     |  4 ++--
 cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h | 12 ++++++++++++
 3 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/sparc/include/rtems/asm.h b/cpukit/score/cpu/sparc/include/rtems/asm.h
index a2b11f63fc..cf2f25d06c 100644
--- a/cpukit/score/cpu/sparc/include/rtems/asm.h
+++ b/cpukit/score/cpu/sparc/include/rtems/asm.h
@@ -37,6 +37,16 @@
 #include <rtems/score/cpuopts.h>
 #include <rtems/score/cpu.h>
 
+/**
+ * @defgroup RTEMSScoreCPUSPARCASM SPARC Assembler Support
+ *
+ * @ingroup RTEMSScoreCPUSPARC
+ *
+ * @brief SPARC Assembler Support 
+ *
+ * @{
+ */
+
 /*
  *  Recent versions of GNU cpp define variables which indicate the
  *  need for underscores and percents.  If not using GNU cpp or
@@ -118,3 +128,5 @@
   mov   _vector, %l3
 
 #endif
+
+/** @} */
diff --git a/cpukit/score/cpu/sparc/include/rtems/score/cpu.h b/cpukit/score/cpu/sparc/include/rtems/score/cpu.h
index abc813cfa5..d4b24f3f56 100644
--- a/cpukit/score/cpu/sparc/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/include/rtems/score/cpu.h
@@ -277,9 +277,9 @@ typedef struct {
 #define CPU_MAXIMUM_PROCESSORS 32
 
 /**
- * @defgroup Contexts SPARC Context Structures
+ * @defgroup RTEMSScoreCPUSPARCContext SPARC Context Structures
  *
- * @ingroup Score
+ * @ingroup RTEMSScoreCPUSPARC
  *
  * Generally there are 2 types of context to save.
  *    + Interrupt registers to save
diff --git a/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h
index 7c31501f25..a99da74fa9 100644
--- a/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h
@@ -18,6 +18,16 @@
 
 #include <rtems/score/cpu.h>
 
+/**
+ * @defgroup RTEMSScoreCPUSPARC SPARC
+ *
+ * @ingroup RTEMSScoreCPU
+ *
+ * @brief SPARC Architecture Support
+ *
+ * @{
+ */
+
 /** This defines the size of the minimum stack frame. */
 #define SPARC_MINIMUM_STACK_FRAME_SIZE 0x60
 
@@ -166,4 +176,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