mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-21 05:05:22 +00:00
When ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS is enabled, if FPU is being used (CONTROL.FPCA == 1), store all FP registers before entering the secure function, and restore them afterwards. This is needed if any NS thread or ISR that interrupts the secure function uses FP registers. If they do, a secure UsageFault occurs unless this change is applied. This allows k_sched_lock() and k_sched_unlock() to be dropped when ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS is enabled. Enable ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS by default when building TF-M. Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no> |
||
---|---|---|
.. | ||
hal_nordic | ||
nanopb | ||
tensorflow | ||
trusted-firmware-m | ||
Kconfig | ||
Kconfig.altera | ||
Kconfig.atmel | ||
Kconfig.canopennode | ||
Kconfig.civetweb | ||
Kconfig.cmsis | ||
Kconfig.cmsis_dsp | ||
Kconfig.cypress | ||
Kconfig.eos_s3 | ||
Kconfig.imx | ||
Kconfig.infineon | ||
Kconfig.libmetal | ||
Kconfig.loramac-node | ||
Kconfig.mbedtls | ||
Kconfig.mcuboot_bootutil | ||
Kconfig.mcux | ||
Kconfig.microchip | ||
Kconfig.nuvoton | ||
Kconfig.open-amp | ||
Kconfig.silabs | ||
Kconfig.simplelink | ||
Kconfig.sof | ||
Kconfig.st | ||
Kconfig.stm32 | ||
Kconfig.syst | ||
Kconfig.tinycbor | ||
Kconfig.tinycrypt | ||
Kconfig.tls-generic | ||
Kconfig.vega | ||
Kconfig.xtensa | ||
modules.cmake |