:orphan: .. title:: RUNTIME_NMI .. option:: 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 =================== (!\ :option:`ARM64 ` && \ :option:`ARM `) || (\ :option:`CPU_CORTEX_R ` && !\ :option:`ARM64 ` && \ :option:`ARM `) *(Includes any dependencies from ifs and menus.)* Default ======= - y Symbols selected by this symbol =============================== - \ :option:`REBOOT ` Kconfig definitions =================== .. highlight:: kconfig At ``arch/arm/core/aarch32/Kconfig:121`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/arm/Kconfig:42`` Menu path: (Top) → ARM Options .. parsed-literal:: config RUNTIME_NMI bool "Attach an NMI handler at runtime" select \ :option:`REBOOT ` depends on !\ :option:`ARM64 ` && \ :option:`ARM ` 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/aarch32/cortex_a_r/Kconfig:87`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/arm/Kconfig:42`` → ``arch/arm/core/aarch32/Kconfig:238`` Menu path: (Top) → ARM Options .. parsed-literal:: config RUNTIME_NMI bool default y depends on \ :option:`CPU_CORTEX_R ` && !\ :option:`ARM64 ` && \ :option:`ARM ` *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*