zephyr/arch
Ioannis Glaropoulos 314949fa3d arch: arm: ARMv8-M built-in stack protection fixes in userspace.S
This commit provides two fixes for the ARMv8-M built-in stack
protection in userspace.S. First, it clears the PSPLIM register
before setting the PSP to the privileged stack. In the wake of
this, the privilege stack area can now be positioned enywhere,
i.e. does not have to be above the user stack area. Second, it
removes unncessary push/pop when clearing the PSPLIM register,
upon returning from the system call, since the r3 register is
not used anymore in this routine.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-02-12 08:29:33 -06:00
..
arc power: Fix naming of Kconfig options controlling deep sleep states 2019-02-12 07:46:32 -05:00
arm arch: arm: ARMv8-M built-in stack protection fixes in userspace.S 2019-02-12 08:29:33 -06:00
common gen_isr_tables: Fix _sw_isr_table generation for multi-level IRQs 2019-02-06 10:13:25 -05:00
nios2 arch: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
posix kernel: Split reschdule & pend into irq/spin lock versions 2019-02-08 14:49:39 -05:00
riscv32 arch: riscv32: Fix trivial comment 2019-01-31 07:40:24 -05:00
x86 power: Fix naming of Kconfig options controlling deep sleep states 2019-02-12 07:46:32 -05:00
x86_64 cmake: Use a variable for 'zephyr_prebuilt' 2019-01-19 07:21:55 -05:00
xtensa esp32: fix build error regarding multiplt BIT() definitions 2019-01-11 15:05:31 -08:00
CMakeLists.txt Build: Added support for out-of-tree Arch 2019-02-07 17:00:43 -05:00
Kconfig power: Fix naming of Kconfig options controlling deep sleep states 2019-02-12 07:46:32 -05:00