On 09/22/2017 10:59 AM, Peter Maydell wrote: > Add support for v8M and in particular the security extension > to the exception entry code. This requires changes to: > * calculation of the exception-return magic LR value > * push the callee-saves registers in certain cases > * clear registers when taking non-secure exceptions to avoid > leaking information from the interrupted secure code > * switch to the correct security state on entry > * use the vector table for the security state we're targeting > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target/arm/helper.c | 165 > +++++++++++++++++++++++++++++++++++++++++++++------- > 1 file changed, 145 insertions(+), 20 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~