Skip to content
Commit 997a49ad authored by Piotr Zięcik's avatar Piotr Zięcik Committed by Anas Nashif
Browse files

arm: userspace: Do not overwrite r7 during syscall.



The r7 register is used as a frame pointer on ARM Thumb. As result, it
cannot be modified by the assembly code in functions using stack frame.

This commit replaces r7 by r8, which is a general purpose register.
Also it fixes #7704.

Signed-off-by: default avatarPiotr Zięcik <piotr.ziecik@nordicsemi.no>
parent 817e3cd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment