You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/05/02 08:13:26 UTC

[incubator-nuttx] 06/06: RISC-V: Temporarily disable error about missing SBI

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 0ae2e681160494a875bf0083200eecb9d76e03cd
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Mon Apr 25 08:43:10 2022 +0300

    RISC-V: Temporarily disable error about missing SBI
---
 arch/risc-v/src/common/supervisor/riscv_sbi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/risc-v/src/common/supervisor/riscv_sbi.c b/arch/risc-v/src/common/supervisor/riscv_sbi.c
index 9694f69f64..a3fc990ac9 100644
--- a/arch/risc-v/src/common/supervisor/riscv_sbi.c
+++ b/arch/risc-v/src/common/supervisor/riscv_sbi.c
@@ -69,7 +69,9 @@ static inline uint64_t rdtime(void)
 
 void riscv_sbi_set_timer(uint64_t stime_value)
 {
+#if 0
 #error "Missing functionality..."
+#endif
 }
 
 /****************************************************************************