target/arm: Add support for restoring v8M additional state context
commit907bedb3f3ce134c149599bd9cb61856d811b8ca
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 6 Oct 2017 15:46:48 +0000 (6 16:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 6 Oct 2017 15:46:48 +0000 (6 16:46 +0100)
tree20fe088281fdb5ae7ede849dd629b1b3b560de3f
parentbfb2eb52788b9605ef2fc9bc72683d4299117fde
target/arm: Add support for restoring v8M additional state context

For v8M, exceptions from Secure to Non-Secure state will save
callee-saved registers to the exception frame as well as the
caller-saved registers. Add support for unstacking these
registers in exception exit when necessary.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1506092407-26985-12-git-send-email-peter.maydell@linaro.org
target/arm/helper.c