target/arm: Define new EXCP type for v8M stack overflows
commit86f026de22d8854eecc004af44895de74225794f
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Oct 2018 13:55:04 +0000 (8 14:55 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Oct 2018 13:55:04 +0000 (8 14:55 +0100)
treec79c9feeda29a5228e9bebabd6da68579c7eaea3
parent4730fb85035e99c909db7d14ef76cd17f28f4423
target/arm: Define new EXCP type for v8M stack overflows

Define EXCP_STKOF, and arrange for it to cause us to take
a UsageFault with CFSR.STKOF set.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181002163556.10279-3-peter.maydell@linaro.org
target/arm/cpu.h
target/arm/helper.c