From 62ee0f7e1936a9eccb55fa360a1dce223819e0b8 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 11 Jun 2022 23:35:33 +0300 Subject: continue documentation --- arch/riscv64/kernel/timer.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/riscv64/kernel/timer.c') diff --git a/arch/riscv64/kernel/timer.c b/arch/riscv64/kernel/timer.c index 36760c4..e529e55 100644 --- a/arch/riscv64/kernel/timer.c +++ b/arch/riscv64/kernel/timer.c @@ -21,6 +21,11 @@ void set_timer(ticks_t ticks) sbi_set_timer(ticks); } +/** + * Get current ticks. + * + * @return Current ticks. + */ #if __riscv_xlen == 64 static ticks_t get_ticks64() { -- cgit v1.3