zephyr/arch
Ioannis Glaropoulos 03734eeb1e arch: arm: protect r0 in z_arch_switch_to_main_thread() inline ASM
Adding r0 to the clobber list in the inline ASM block of
z_arch_switch_to_main_thread(). This instructs assembler
to not use r0 to store ASM expression operands, e.g. in
the subsequent instruction, msr PSR %1.

We also do a minor optimization with the clearing of R1
before jumping to main.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-10-29 06:11:52 +01:00
..
arc arch: arc: kconfig: Define FP_FPU_DA outside Kconfig.defconfig files 2019-10-25 16:38:54 -05:00
arm arch: arm: protect r0 in z_arch_switch_to_main_thread() inline ASM 2019-10-29 06:11:52 +01:00
common timing_info: rename globals 2019-09-30 15:25:55 -04:00
nios2 kconfig: Remove symbol types from Kconfig.defconfig files 2019-10-24 12:40:22 -05:00
posix posix arch: Untangle headers 2019-10-25 11:23:49 -07:00
riscv arm/riscv: kconfig: Remove type from NUM_IRQS in defconfig files 2019-10-28 08:27:28 -05:00
x86 x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
xtensa kconfig: Remove symbol types from Kconfig.defconfig files 2019-10-24 12:40:22 -05:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00