nvic: Fix ARMv7M MPU_RBAR reads
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Nov 2017 18:13:33 +0000 (18:13 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Nov 2017 13:39:48 +0000 (13:39 +0000)
commit2b75ef01caf74be5af964f97e37f07ff9034fe0b
tree039581265421e04c4c6ecbd130248b4607e7e903
parent96a8b92ed8f02d5e86ad380d3299d9f41f99b072
nvic: Fix ARMv7M MPU_RBAR reads

Fix an incorrect mask expression in the handling of v7M MPU_RBAR
reads that meant that we would always report the ADDR field as zero.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1509732813-22957-1-git-send-email-peter.maydell@linaro.org
hw/intc/armv7m_nvic.c