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 <soby.mathew@arm.com>
1 parent 6d422c3 commit 01fc1c24b9a03c519efae4d006a71c350c0529fa
@Soby Mathew Soby Mathew authored on 16 Nov 2018
Showing 1 changed file
View
bl31/aarch64/runtime_exceptions.S