xiaoxiang781216 commented on code in PR #8787:
URL: https://github.com/apache/nuttx/pull/8787#discussion_r1133038964
##########
arch/risc-v/src/common/supervisor/riscv_sbi.c:
##########
@@ -87,13 +93,17 @@ static inline uintptr_t sbi_ecall(unsigned int extid,
unsigned int fid,
void riscv_sbi_set_timer(uint64_t stime_value)
{
+#ifdef CONFIG_NUTTSBI
+ sbi_mcall_set_timer(stime_value);
Review Comment:
can we make nuttx sbi use the same ecall interface?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]