]> Git Repo - qemu.git/commit
target/arm: Correct condition for v8M callee stack push
authorPeter Maydell <[email protected]>
Mon, 8 Oct 2018 13:55:02 +0000 (14:55 +0100)
committerPeter Maydell <[email protected]>
Mon, 8 Oct 2018 13:55:02 +0000 (14:55 +0100)
commit7b73a1ca05b33d42278ce29cea4652e22d408165
tree4b1637129b679e4cdf3773ecda2141e5485e5f36
parent846690dee8ca6a4143d20b39e894fd1f24627561
target/arm: Correct condition for v8M callee stack push

In v7m_exception_taken() we were incorrectly using a
"LR bit EXCRET.ES is 1" check when it should be 0
(compare the pseudocode ExceptionTaken() function).
This meant we didn't stack the callee-saved registers
when tailchaining from a NonSecure to a Secure exception.

Cc: [email protected]
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: 20181002145940[email protected]
target/arm/helper.c
This page took 0.026214 seconds and 4 git commands to generate.