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/12 08:31:07 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6022: arch/risc-v: Apply misaligned access handler for k210/bl602

pkarashchenko commented on code in PR #6022:
URL: https://github.com/apache/incubator-nuttx/pull/6022#discussion_r848138089


##########
arch/risc-v/Kconfig:
##########
@@ -194,6 +196,17 @@ config ARCH_HAVE_S_MODE
 	bool
 	default n
 
+config ARCH_HAVE_MISALIGN_EXCEPTION
+	bool
+	default n
+	---help---
+	    The chip will raise a exception while misaligned memory access.
+
+config RISCV_MISALIGNED_HANDLER
+	bool "Software misaligned memory access handler"
+	depends on ARCH_HAVE_MISALIGN_EXCEPTION
+	default y
+
 # Option to run NuttX in supervisor mode. This is obviously not usable in

Review Comment:
   please use TABs in Kconfig files



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