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

Symbols selected by this symbol

Kconfig definitions

At arch/arm/core/aarch32/Kconfig:90

Included via Kconfig:8Kconfig.zephyr:34arch/Kconfig:12arch/arm/Kconfig:9

Menu path: (Top) → ARM Options

config RUNTIME_NMI
    bool "Attach an NMI handler at runtime"
    select REBOOT
    depends on 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_r/Kconfig:80

Included via Kconfig:8Kconfig.zephyr:34arch/Kconfig:12arch/arm/Kconfig:9arch/arm/core/aarch32/Kconfig:271

Menu path: (Top) → ARM Options

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

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