W-M-R commented on code in PR #15562:
URL: https://github.com/apache/nuttx/pull/15562#discussion_r1917611099


##########
arch/Kconfig:
##########
@@ -538,6 +538,14 @@ config ARCH_PERF_EVENTS
                Enable hardware performance counter support for perf events. If
                disabled, perf events will use software events only.
 
+config ARCH_PROTECT_ZERO_ADDRESS
+       bool "Protect address zero"
+       depends on ARCH_HAVE_DEBUG
+       default n
+       ---help---
+               When the program accesses address 0, it will assert 
automatically.
+               Hardware support is required, such as ARM V8M DWT

Review Comment:
   Yes, the current 0 address protection method is not unified for each ARCH. I 
will think about it carefully and modify this patch.



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

Reply via email to