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/10/05 19:59:59 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #7228: arch: qemu-rv: Add M-timer handling for BUILD_KERNEL

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


##########
arch/risc-v/src/qemu-rv/qemu_rv_start.c:
##########
@@ -49,6 +49,34 @@
 #  error "Target requires kernel in S-mode, enable CONFIG_ARCH_USE_S_MODE"
 #endif
 
+/****************************************************************************
+ * Extern Function Declarations
+ ****************************************************************************/
+
+#ifdef CONFIG_BUILD_KERNEL
+extern void __trap_vec(void);
+extern void __trap_vec_m(void);
+extern void up_mtimer_initialize(void);

Review Comment:
   should we make it as a general infrastructure?



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