This set of six patches is some simple bug fixes which I've pulled out of Michael Davidsaver's old NVIC rewrite patchset, as an initial start on getting it upstream. None of them are particularly exciting, but they're self-contained so they might as well go through code review and get into master ahead of the main rewrite.
NB the patch which pulls the FIELD macros out of register.h; they're too useful to be only accessible in softmmu builds. I've CC'd Michael as the original author and Liviu as somebody interested in v7M; if either of you would prefer not to be cc'd let me know and I'll leave you off subsequent respins and later NVIC related patchset emails. thanks -- PMM Michael Davidsaver (5): armv7m: MRS/MSR: handle unprivileged access armv7m: Replace armv7m.hack with unassigned_access handler armv7m: Explicit error for bad vector table armv7m: Fix reads of CONTROL register bit 1 armv7m: Clear FAULTMASK on return from non-NMI exceptions Peter Maydell (1): hw/registerfields.h: Pull FIELD etc macros out of hw/register.h include/hw/register.h | 47 +------------- include/hw/registerfields.h | 60 ++++++++++++++++++ target/arm/cpu.h | 1 - target/arm/internals.h | 7 +++ hw/arm/armv7m.c | 8 --- target/arm/cpu.c | 28 +++++++++ target/arm/helper.c | 147 +++++++++++++++++++++++++++----------------- target/arm/machine.c | 6 +- target/arm/translate.c | 12 ++-- 9 files changed, 195 insertions(+), 121 deletions(-) create mode 100644 include/hw/registerfields.h -- 2.7.4