summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 15:36:43 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-26 15:09:41 +0000
commit235ea1f5c89abf30e452539b973b0dbe43d3fe2b (patch)
tree926cd2da5ac6f850018a29d2a2a5226ed19e1e95 /linux-user
parent4d1e324b2241017c92d816ec3af51a14685dbf62 (diff)
downloadqemu-235ea1f5c89abf30e452539b973b0dbe43d3fe2b.zip
target-arm: Give CPSR setting on 32-bit exception return its own helper
The rules for setting the CPSR on a 32-bit exception return are subtly different from those for setting the CPSR via an instruction like MSR or CPS. (In particular, in Hyp mode changing the mode bits is not valid via MSR or CPS.) Split the exception-return case into its own helper for setting CPSR, so we can eventually handle them differently in the helper function. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com> Message-id: 1455556977-3644-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions