[rtems commit] doxygen: score: Add RISC-V CPU architecture group

Sebastian Huber sebh at rtems.org
Tue Apr 2 05:31:47 UTC 2019


Module:    rtems
Branch:    master
Commit:    71f90982dc217815ab873698b1852640b9d66534
Changeset: http://git.rtems.org/rtems/commit/?id=71f90982dc217815ab873698b1852640b9d66534

Author:    Andreas Dachsberger <andreas.dachsberger at embedded-brains.de>
Date:      Wed Mar 27 10:38:56 2019 +0100

doxygen: score: Add RISC-V CPU architecture group

Update #3706.

---

 cpukit/score/cpu/riscv/include/rtems/asm.h           | 12 ++++++++++++
 cpukit/score/cpu/riscv/include/rtems/score/cpu.h     |  1 +
 cpukit/score/cpu/riscv/include/rtems/score/cpuimpl.h | 12 ++++++++++++
 cpukit/score/cpu/riscv/riscv-exception-handler.S     |  2 +-
 4 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/riscv/include/rtems/asm.h b/cpukit/score/cpu/riscv/include/rtems/asm.h
index a2f4835..4e09d16 100644
--- a/cpukit/score/cpu/riscv/include/rtems/asm.h
+++ b/cpukit/score/cpu/riscv/include/rtems/asm.h
@@ -59,6 +59,16 @@
 #include <rtems/score/cpuopts.h>
 #include <rtems/score/riscv.h>
 
+/**
+ * @defgroup RTEMSScoreCPURISCVASM RISC-V Assembler Support
+ *
+ * @ingroup RTEMSScoreCPURISCV
+ *
+ * @brief RISC-V Assembler Support
+ *
+ * @{
+ */
+
 /*
  *  Recent versions of GNU cpp define variables which indicate the
  *  need for underscores and percents.  If not using GNU cpp or
@@ -192,3 +202,5 @@
 .endm
 
 #endif
+
+/** @} */
diff --git a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
index bb866d8..e08307d 100644
--- a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
@@ -1,5 +1,6 @@
 /**
  * @file
+ * 
  */
 
 /*
diff --git a/cpukit/score/cpu/riscv/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/riscv/include/rtems/score/cpuimpl.h
index 5a256e8..c381cce 100644
--- a/cpukit/score/cpu/riscv/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/riscv/include/rtems/score/cpuimpl.h
@@ -34,6 +34,16 @@
 
 #include <rtems/score/cpu.h>
 
+/**
+ * @defgroup RTEMSScoreCPURISCV RISC-V
+ *
+ * @ingroup RTEMSScoreCPU
+ *
+ * @brief RISCV Architecture Support
+ *
+ * @{
+ */
+
 #if defined(__riscv_atomic) && __riscv_xlen == 64
 #define CPU_PER_CPU_CONTROL_SIZE 48
 #elif defined(__riscv_atomic) && __riscv_xlen == 32
@@ -418,4 +428,6 @@ RTEMS_INLINE_ROUTINE void _CPU_Instruction_no_operation( void )
 
 #endif /* ASM */
 
+/** @} */
+
 #endif /* _RTEMS_SCORE_CPUIMPL_H */
diff --git a/cpukit/score/cpu/riscv/riscv-exception-handler.S b/cpukit/score/cpu/riscv/riscv-exception-handler.S
index ddb8f39..9330f24 100644
--- a/cpukit/score/cpu/riscv/riscv-exception-handler.S
+++ b/cpukit/score/cpu/riscv/riscv-exception-handler.S
@@ -1,7 +1,7 @@
 /**
  * @file
  *
- * @ingroup RTEMSScoreCPU
+ * @addtogroup RTEMSScoreCPURISCV
  *
  * @brief RISC-V exception support implementation.
  */



More information about the vc mailing list