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_AARCH32_CORTEX_A && ARM) || (CPU_CORTEX_R && ARM)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definitions

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:65

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 <Zephyr>/arch/arm/core/aarch32/cortex_a_r/Kconfig:55

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:65<Zephyr>/arch/arm/core/aarch32/Kconfig:306

Menu path: (Top) → ARM Options

config RUNTIME_NMI
    bool
    default y
    depends on CPU_AARCH32_CORTEX_A && ARM

At <Zephyr>/arch/arm/core/aarch32/cortex_a_r/Kconfig:139

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:65<Zephyr>/arch/arm/core/aarch32/Kconfig:306

Menu path: (Top) → ARM Options

config RUNTIME_NMI
    bool
    default y
    depends on CPU_CORTEX_R && ARM

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