-
CONFIG_RUNTIME_NMI
¶
Attach an NMI handler at runtime
Type: bool
Help¶
The kernel provides a simple NMI handler that simply hangs in a tight loop if triggered. This fills the requirement that there must be an NMI handler installed when the CPU boots. If a custom handler is needed, enable this option and attach it via _NmiHandlerSet().
Direct dependencies¶
ARM
|| (CPU_CORTEX_R
&& CPU_CORTEX_R
&& ARM
)
(Includes any dependencies from ifs and menus.)
Default¶
y
Kconfig definitions¶
At arch/arm/core/Kconfig:89
Included via Kconfig:8
→ Kconfig.zephyr:31
→ arch/Kconfig:12
→ arch/arm/Kconfig:9
Menu path: (Top) → ARM Options
config RUNTIME_NMI bool "Attach an NMI handler at runtime" selectREBOOT
depends onARM
help The kernel provides a simple NMI handler that simply hangs in a tight loop if triggered. This fills the requirement that there must be an NMI handler installed when the CPU boots. If a custom handler is needed, enable this option and attach it via _NmiHandlerSet().
At arch/arm/core/cortex_r/Kconfig:80
Included via Kconfig:8
→ Kconfig.zephyr:31
→ arch/Kconfig:12
→ arch/arm/Kconfig:9
→ arch/arm/core/Kconfig:275
Menu path: (Top) → ARM Options
config RUNTIME_NMI bool default y depends onCPU_CORTEX_R
&&CPU_CORTEX_R
&&ARM
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)