commit | e75d791c5083cd7d25c36677825b2a01ce708b7d | [log] [tgz] |
---|---|---|
author | Sean Anderson <sean.anderson@seco.com> | Tue Mar 22 16:59:28 2022 -0400 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 01 16:56:53 2022 -0400 |
tree | fbf94028bacc54b09768df62fa0fb1fca6544801 | |
parent | e97ac4780d69c719b81086bba615c8568afd14a1 [diff] |
arm64: Save spsr in pt_regs This register holds "pstate" which includes (among other things) the instruction mode the CPU was in when the exception was taken. This is necessary to correctly interpret instructions at elr. Signed-off-by: Sean Anderson <sean.anderson@seco.com>