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

(!ARM64 && ARM) || (CPU_CORTEX_R && !ARM64 && ARM)

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

At <Zephyr>/arch/arm/core/aarch32/Kconfig:121

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:42

Menu path: (Top) → ARM Options

config RUNTIME_NMI
    bool "Attach an NMI handler at runtime"
    select REBOOT
    depends on !ARM64 && 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 <Zephyr>/arch/arm/core/aarch32/cortex_a_r/Kconfig:79

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:42<Zephyr>/arch/arm/core/aarch32/Kconfig:238

Menu path: (Top) → ARM Options

config RUNTIME_NMI
    bool
    default y
    depends on CPU_CORTEX_R && !ARM64 && ARM

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)