commit | 01fc1c24b9a03c519efae4d006a71c350c0529fa | [log] [tgz] |
---|---|---|
author | Soby Mathew <soby.mathew@arm.com> | Fri Nov 16 15:43:34 2018 +0000 |
committer | Soby Mathew <soby.mathew@arm.com> | Wed Dec 05 10:40:08 2018 +0000 |
tree | c6bf51fa11d0b4e8c59dd2c968f88b329d4b12b4 | |
parent | 6d422c3e2b80cf4de96b5ad824e84382be5fa52f [diff] |
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>