anchao commented on code in PR #15562: URL: https://github.com/apache/nuttx/pull/15562#discussion_r1916261087
########## sched/irq/irq_initialize.c: ########## @@ -87,5 +96,11 @@ void irq_initialize(void) #endif up_irqinitialize(); + +#ifdef CONFIG_ARCH_PROTECT_ZERO_ADDRESS + up_debugpoint_add(DEBUGPOINT_WATCHPOINT_RW, 0, 0, Review Comment: Why not use the mpu? What happens if I access the address 0 + offset? ########## sched/irq/irq_initialize.c: ########## @@ -87,5 +96,11 @@ void irq_initialize(void) #endif up_irqinitialize(); + +#ifdef CONFIG_ARCH_PROTECT_ZERO_ADDRESS + up_debugpoint_add(DEBUGPOINT_WATCHPOINT_RW, 0, 0, Review Comment: Why not use the mpu? What happens if access the address 0 + offset? -- 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