Seven simple patches off the top of my v8M work in progress:
three bugfixes which are also relevant for v7M:
* need to clear exclusive monitor on exception entry/exit
* wrong BFSR bits set on aborts
* negative exception priorities were being wrongly handled
and four code cleanup patches, including one which is a change
suggested in review of my last series which I forgot to make.
thanks
-- PMM
Peter Maydell (7):
target/arm: Use M_REG_NUM_BANKS rather than hardcoding 2
target/arm: Clear exclusive monitor on v7M reset, exception entry/exit
target/arm: Get PRECISERR and IBUSERR the right way round
nvic: Don't apply group priority mask to negative priorities
target/arm: Remove unnecessary '| 0xf0000000' from
do_v7m_exception_exit()
target/arm: Add and use defines for EXCRET constants
target/arm: Rename 'type' to 'excret' in do_v7m_exception_exit()
target/arm/cpu.h | 35 +++++++++++++++++++----------------
target/arm/internals.h | 20 ++++++++++++++++++++
hw/intc/armv7m_nvic.c | 11 +++++++++--
target/arm/cpu.c | 6 ++++++
target/arm/helper.c | 43 +++++++++++++++++++++++++------------------
target/arm/op_helper.c | 2 +-
6 files changed, 80 insertions(+), 37 deletions(-)
--
2.7.4