The latest development version of this page may be more current than this released 1.14.1 version.
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_INTEL_S1000 || SOC_XTENSA_SAMPLE_CONTROLLER || XTENSA

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

Defaults

Symbols selected by this symbol

Kconfig definitions

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

Included via Kconfig:10Kconfig.zephyr:23

Menu path: (top menu)

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

At soc/xtensa/intel_s1000/Kconfig.defconfig:15

Included via Kconfig:10Kconfig.zephyr:23

Menu path: (top menu)

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

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

Included via Kconfig:10Kconfig.zephyr:23

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:34

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

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
    select USE_SWITCH_SUPPORTED 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.)