You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/09 15:13:52 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6818: risc-v: Implement riscv_sbi_set_timer

xiaoxiang781216 commented on code in PR #6818:
URL: https://github.com/apache/incubator-nuttx/pull/6818#discussion_r941469930


##########
arch/risc-v/src/common/supervisor/riscv_sbi.c:
##########
@@ -33,24 +45,30 @@
  * Private Functions
  ****************************************************************************/
 
-#ifdef CONFIG_ARCH_RV64
-static inline uint64_t rdtime(void)
+static inline uintptr_t sbi_ecall(unsigned int extid, unsigned int fid,

Review Comment:
   should we move the general sbi_ecall to riscv_internal.h?



-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org