From 71f90982dc217815ab873698b1852640b9d66534 Mon Sep 17 00:00:00 2001 From: Andreas Dachsberger Date: Wed, 27 Mar 2019 10:38:56 +0100 Subject: 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 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 #include +/** + * @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 +/** + * @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. */ -- cgit v1.2.3