diff options
| author | Peter Maydell | 2017-09-04 16:21:53 +0200 |
|---|---|---|
| committer | Peter Maydell | 2017-09-04 16:21:53 +0200 |
| commit | bd70b29ba92e4446f9e4eb8b9acc19ef6ff4a4d5 (patch) | |
| tree | cdeb2593877cc17e17a30b7e367e20b1bd62b2a9 /include | |
| parent | target/arm: Make arm_cpu_dump_state() handle the M-profile XPSR (diff) | |
| download | qemu-bd70b29ba92e4446f9e4eb8b9acc19ef6ff4a4d5.tar.gz qemu-bd70b29ba92e4446f9e4eb8b9acc19ef6ff4a4d5.tar.xz qemu-bd70b29ba92e4446f9e4eb8b9acc19ef6ff4a4d5.zip | |
target/arm: Don't calculate lr in arm_v7m_cpu_do_interrupt() until needed
Move the code in arm_v7m_cpu_do_interrupt() that calculates the
magic LR value down to when we're actually going to use it.
Having the calculation and use so far apart makes the code
a little harder to understand than it needs to be.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1501692241-23310-13-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
