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/04/26 11:03:40 UTC

[GitHub] [incubator-nuttx] hotislandn commented on a diff in pull request #6151: RISC-V: workaround for the RV64 SoC which does not has mem mapped MTI…

hotislandn commented on code in PR #6151:
URL: https://github.com/apache/incubator-nuttx/pull/6151#discussion_r858580154


##########
arch/risc-v/src/common/riscv_mtimer.c:
##########
@@ -84,7 +84,13 @@ static const struct oneshot_operations_s g_riscv_mtimer_ops =
 static uint64_t riscv_mtimer_get_mtime(struct riscv_mtimer_lowerhalf_s *priv)
 {
 #ifdef CONFIG_ARCH_RV64
-  return getreg64(priv->mtime);

Review Comment:
   AFAIK, there is no issue on RV32 SoCs. Shall we add this when someone reports this?



-- 
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