CONFIG_XTENSA_ASM2

New-style Xtensa context switch & interrupt layer

Type: bool

Help

This selects a new implementation of context switching and interrupt handling. Advantages are a much lower interrupt overhead and smaller code size, and this scheme is required for SMP. Assumes/requires hardware that implements the register window extension, however.

Direct dependencies

SOC_ESP32 || SOC_XTENSA_SAMPLE_CONTROLLER || XTENSA

(Includes any dependencies from if’s and menus.)

Defaults

Symbols selected by this symbol

Kconfig definitions

At arch/xtensa/soc/esp32/Kconfig.defconfig:15

Included via Kconfig:10Kconfig.zephyr:20

Menu path: (top menu)

config XTENSA_ASM2
    bool
    default "y" if SOC_ESP32
    depends on SOC_ESP32

At arch/xtensa/soc/sample_controller/Kconfig.defconfig:16

Included via Kconfig:10Kconfig.zephyr:20

Menu path: (top menu)

config XTENSA_ASM2
    bool
    default "y" if SOC_XTENSA_SAMPLE_CONTROLLER
    depends on SOC_XTENSA_SAMPLE_CONTROLLER

At arch/xtensa/Kconfig:46

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → XTENSA Options → Specific core configuration

config XTENSA_ASM2
    bool
    prompt "New-style Xtensa context switch & interrupt layer" if XTENSA
    select USE_SWITCH if XTENSA
    depends on XTENSA
    help
      This selects a new implementation of context switching and
      interrupt handling.  Advantages are a much lower interrupt
      overhead and smaller code size, and this scheme is required
      for SMP.  Assumes/requires hardware that implements the
      register window extension, however.

(Definitions include propagated dependencies, including from if’s and menus.)