target-arm: Fix SWI (SVC) instruction in M profile.
commit314e2296dc945e286b605563d7b6e6b269d29816
authorAlex_Rozenman@mentor.com <Alex_Rozenman@mentor.com>
Fri, 11 Jan 2013 15:21:22 +0000 (11 15:21 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 11 Jan 2013 15:21:22 +0000 (11 15:21 +0000)
tree04b83865b48e069e6aa1fd60c21c37362d8f4ea4
parent918fd0839eeafc83bd4984364321a947d29041fe
target-arm: Fix SWI (SVC) instruction in M profile.

When do_interrupt_v7m is called with EXCP_SWI, the PC already
points to the next instruction. Don't modify it here.

Signed-off-by: Alex Rozenman <Alex_Rozenman@mentor.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c