[PATCH 12/25] score: Add RISC-V CPU architecture group
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Mar 29 10:52:57 UTC 2019
From: Andreas Dachsberger <andreas.dachsberger at embedded-brains.de>
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 a2f483536f..4e09d16410 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 bb866d8b02..e08307d372 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 5a256e8b75..c381cce110 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 ddb8f39d97..9330f246b1 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.
*/
--
2.16.4
More information about the devel
mailing list