[PATCH 11/25] score: Add powerpc CPU architecture group

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


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

Update #3706.
---
 cpukit/score/cpu/powerpc/include/rtems/asm.h               | 12 ++++++++++++
 cpukit/score/cpu/powerpc/include/rtems/powerpc/registers.h |  2 ++
 cpukit/score/cpu/powerpc/include/rtems/score/cpu.h         |  2 ++
 cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h     | 12 ++++++++++++
 cpukit/score/cpu/powerpc/include/rtems/score/paravirt.h    |  6 ++++--
 5 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/powerpc/include/rtems/asm.h b/cpukit/score/cpu/powerpc/include/rtems/asm.h
index 5bf307b622..27af64e724 100644
--- a/cpukit/score/cpu/powerpc/include/rtems/asm.h
+++ b/cpukit/score/cpu/powerpc/include/rtems/asm.h
@@ -42,6 +42,16 @@
 #include <rtems/score/cpuopts.h>
 #include <rtems/score/powerpc.h>
 
+/**
+ * @defgroup RTEMSScoreCPUPowerPCASM PowerPC Assembler Support
+ *
+ * @ingroup RTEMSScoreCPUPowerPC
+ *
+ * @brief PowerPC Assembler Support
+ *
+ * @{
+ */
+
 /*
  *  Recent versions of GNU cpp define variables which indicate the
  *  need for underscores and percents.  If not using GNU cpp or
@@ -302,3 +312,5 @@ SYM (x):;				\
 #endif
 
 #endif
+
+/** @} */
diff --git a/cpukit/score/cpu/powerpc/include/rtems/powerpc/registers.h b/cpukit/score/cpu/powerpc/include/rtems/powerpc/registers.h
index b63060d0a7..5dad87016d 100644
--- a/cpukit/score/cpu/powerpc/include/rtems/powerpc/registers.h
+++ b/cpukit/score/cpu/powerpc/include/rtems/powerpc/registers.h
@@ -1,6 +1,8 @@
 /**
  * @file
  * 
+ * @addtogroup RTEMSScoreCPUPowerPC
+ * 
  * @brief PowerPc MSR and Registers Access Definitions
  * 
  * This file contains some powerpc MSR and registers access definitions.
diff --git a/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
index a2b9278925..8e4b10156f 100644
--- a/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
@@ -1,6 +1,8 @@
 /**
  * @file
  * 
+ * @addtogroup RTEMSScoreCPUPowerPC
+ * 
  * @brief PowerPC CPU Department Source
  */
 
diff --git a/cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h
index 4a2f5adedb..bd23602827 100644
--- a/cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h
@@ -22,6 +22,16 @@
 
 #include <rtems/score/cpu.h>
 
+/**
+ * @defgroup RTEMSScoreCPUPowerPC PowerPC
+ *
+ * @ingroup RTEMSScoreCPU
+ *
+ * @brief PowerPC Architecture Support
+ *
+ * @{
+ */
+
 /* Exception stack frame -> BSP_Exception_frame */
 #ifdef __powerpc64__
   #define FRAME_LINK_SPACE 32
@@ -258,4 +268,6 @@ RTEMS_INLINE_ROUTINE void _CPU_Instruction_no_operation( void )
 
 #endif /* ASM */
 
+/** @} */
+
 #endif /* _RTEMS_SCORE_CPUIMPL_H */
diff --git a/cpukit/score/cpu/powerpc/include/rtems/score/paravirt.h b/cpukit/score/cpu/powerpc/include/rtems/score/paravirt.h
index c9fee7d1d1..5efbd3bef7 100644
--- a/cpukit/score/cpu/powerpc/include/rtems/score/paravirt.h
+++ b/cpukit/score/cpu/powerpc/include/rtems/score/paravirt.h
@@ -25,9 +25,11 @@
 #define _RTEMS_SCORE_PARAVIRT_H
 
 /**
- * @defgroup ParavirtPowerPC Paravirtualization PowerPC Support
+ * @defgroup RTEMSScoreCPUPowerPCParavirt PowerPC Paravirtualization Support
  *
- * @ingroup Score
+ * @ingroup RTEMSScoreCPUPowerPC
+ * 
+ * @brief PowerPC Paravirtualization Support
  *
  * This handler encapulates the functionality (primarily conditional
  * feature defines) related to paravirtualization on the PowerPC.
-- 
2.16.4




More information about the devel mailing list