From 33048680b0c6999b2ff918340ecd47e14c63b0b8 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Wed, 18 Dec 2019 17:25:10 +0100 Subject: [PATCH] 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 --- arch/arm/core/aarch32/cortex_m/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/core/aarch32/cortex_m/Kconfig b/arch/arm/core/aarch32/cortex_m/Kconfig index 4ca61f1871c..98ddab92eb8 100644 --- a/arch/arm/core/aarch32/cortex_m/Kconfig +++ b/arch/arm/core/aarch32/cortex_m/Kconfig @@ -243,6 +243,17 @@ config ZERO_LATENCY_IRQS higher priority than the rest of the kernel they cannot use any 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 bool "Enable Software Vector Relay" default y if BOOTLOADER_MCUBOOT