arch: arm: introduce support for dynamic direct interrupts

With this commit we add support for Dynamic Direct interrupts
for the ARM Cortex-M architecture. For that we introduce a new,
user-enabled, Kconfig symbol, DYNAMIC_DIRECT_INTERRUPTS.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2019-12-18 17:25:10 +01:00 committed by Andrew Boie
commit 33048680b0

View file

@ -243,6 +243,17 @@ config ZERO_LATENCY_IRQS
higher priority than the rest of the kernel they cannot use any higher priority than the rest of the kernel they cannot use any
kernel functionality. kernel functionality.
config DYNAMIC_DIRECT_INTERRUPTS
bool "Enable support for dynamic direct interrupts"
depends on DYNAMIC_INTERRUPTS
help
Direct interrupts are designed for performance-critical interrupt
handling and do not go through all of the common interrupt handling
code. This option enables the installation of interrupt service
routines for direct interrupts at runtime.
Note: this requires enabling support for dynamic interrupts in the
kernel.
config SW_VECTOR_RELAY config SW_VECTOR_RELAY
bool "Enable Software Vector Relay" bool "Enable Software Vector Relay"
default y if BOOTLOADER_MCUBOOT default y if BOOTLOADER_MCUBOOT