commit | d1198ad44635b0fc541664cc8cad3b14be40840c | [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 | 34d31745d2e5f632ffafb9fae8189d0dd65db3e0 [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>