pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r837579215
########## File path: arch/risc-v/src/common/supervisor/riscv_sbi.c ########## @@ -54,5 +64,9 @@ void riscv_sbi_ack_timer(void) uintptr_t riscv_sbi_mhartid(void) { +#ifdef CONFIG_NUTTSBI + return riscv_mcall_mhartid(); Review comment: Other info that could be stored into sscratch is the hart specific interrupt stack, so it does not need to be calculated every time an exception runs -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org