aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/riscv/riscv-013.c4
-rw-r--r--src/target/riscv/riscv.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c
index 529fba7..ccb0032 100644
--- a/src/target/riscv/riscv-013.c
+++ b/src/target/riscv/riscv-013.c
@@ -754,7 +754,7 @@ static int write_abstract_arg(struct target *target, unsigned index,
}
/**
- * @size in bits
+ * @par size in bits
*/
static uint32_t access_register_command(struct target *target, uint32_t number,
unsigned size, uint32_t flags)
@@ -1743,7 +1743,7 @@ static int deassert_reset(struct target *target)
}
/**
- * @size in bytes
+ * @par size in bytes
*/
static void write_to_buf(uint8_t *buffer, uint64_t value, unsigned size)
{
diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c
index 3331b00..1c89e6d 100644
--- a/src/target/riscv/riscv.c
+++ b/src/target/riscv/riscv.c
@@ -514,7 +514,7 @@ int riscv_add_breakpoint(struct target *target, struct breakpoint *breakpoint)
{
assert(breakpoint);
if (breakpoint->type == BKPT_SOFT) {
- /* @todo check RVC for size/alignment */
+ /** @todo check RVC for size/alignment */
if (!(breakpoint->length == 4 || breakpoint->length == 2)) {
LOG_ERROR("Invalid breakpoint length %d", breakpoint->length);
return ERROR_FAIL;