Skip to content
Commit 01fc1c24 authored by Soby Mathew's avatar Soby Mathew
Browse files

BL31: Use helper function to save registers in SMC handler



Use the helper function `save_gp_registers` to save the register
state to cpu_context on entry to EL3 in SMC handler. This has the
effect of saving x0 - x3 as well into the cpu_context which was
not done previously but it unifies the register save sequence
in BL31.

Change-Id: I5753c942263a5f9178deda3dba896e3220f3dd83
Signed-off-by: Soby Mathew's avatarSoby Mathew <soby.mathew@arm.com>
parent 6d422c3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment