arch: arm: Add config for non-blocking secure calls

Introduce a Kconfig option to allow Secure function calls to be
pre-empted.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2021-04-30 10:46:38 +02:00
commit ad808354d2

View file

@ -215,6 +215,16 @@ config ARM_NONSECURE_FIRMWARE
resources of the Cortex-M MCU, and, therefore, it shall avoid resources of the Cortex-M MCU, and, therefore, it shall avoid
accessing them. accessing them.
config ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS
bool "Allow secure function calls to be preempted"
depends on ARM_NONSECURE_FIRMWARE
help
When enabled, this option indicates that preemptible Zephyr
threads performing secure function calls, are allowed to be
preempted. When disabled, the option indicates that such
threads many not be context-switched-out while doing a Secure
function call.
choice choice
prompt "Floating point ABI" prompt "Floating point ABI"
default FP_HARDABI default FP_HARDABI