target/arm: Clear exclusive monitor on v7M reset, exception entry/exit
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2017 17:43:16 +0000 (18:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2017 17:43:16 +0000 (18:43 +0100)
commitdc3c4c14f0f12854dbd967be3486f4db4e66d25b
tree8390f567ab69f296ed090e74c4dc9bcd16345c5e
parent4a16724f06ead684a5962477a557c26c677c2729
target/arm: Clear exclusive monitor on v7M reset, exception entry/exit

For M profile we must clear the exclusive monitor on reset, exception
entry and exception exit.  We weren't doing any of these things; fix
this bug.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1505137930-13255-3-git-send-email-peter.maydell@linaro.org
target/arm/cpu.c
target/arm/helper.c
target/arm/internals.h
target/arm/op_helper.c