zephyr/arch/arm/include/aarch32
Øyvind Rønningstad a2cfb8431d arch: arm: Add code for swapping threads between secure and non-secure
This adds code to swap_helper.S which does special handling of LR when
the interrupt came from secure. The LR value is stored to memory, and
put back into LR when swapping back to the relevant thread.

Also, add special handling of FP state when switching from secure to
non-secure, since we don't know whether the original non-secure thread
(which called a secure service) was using FP registers, so we always
store them, just in case.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
2021-05-05 13:00:31 +02:00
..
cortex_a_r arch: arm: cortex_r: disable ECC on TCMs 2020-12-27 18:16:00 +01:00
cortex_m arm: cortex_m: assert if DebugMonitor exc is enabled in debug mode 2021-03-03 10:38:29 +01:00
kernel_arch_func.h arch: arm: Setup Static MPU regions earlier in boot flow 2021-05-04 15:46:52 +02:00
offsets_short_arch.h arch: arm: Add code for swapping threads between secure and non-secure 2021-05-05 13:00:31 +02:00