target-arm: Fix errors in decode of M profile CPS
commitd3cb6e2b062f69e0a40f21b74a42f5c5a3422174
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Jan 2012 17:25:08 +0000 (13 17:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Jan 2012 17:25:08 +0000 (13 17:25 +0000)
tree366a73562736bc62e76c1e414156e8f559e9ae3f
parent6b620ca3b052e622eef4379cfe37c5c3db5364c9
target-arm: Fix errors in decode of M profile CPS

Fix errors in the decode of M profile CPS:
 * the decode of the I (affects PRIMASK) and F (affects FAULTMASK)
   bits was reversed
 * the FAULTMASK system register number is 19, not 17

This fixes an issue reported as LP:913925.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate.c