pussuw commented on a change in pull request #5782:
URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r837831886
##########
File path: arch/risc-v/src/common/riscv_swint.c
##########
@@ -179,6 +187,31 @@ int riscv_swint(int irq, void *context, void *arg)
riscv_registerdump(regs);
#endif
+ /* Handle the syscall */
+
+ regs = riscv_handle_syscall(regs);
+
+ /* Report what happened. That might difficult in the case of a context
+ * switch
+ */
+
+#ifdef CONFIG_DEBUG_SYSCALL_INFO
Review comment:
Hmm, logs will be produced for all user syscalls, but obviously not for
the context handling ones. That is the only difference.
--
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]