summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPeter Maydell2020-03-03 18:49:47 +0100
committerPeter Maydell2020-03-12 17:01:37 +0100
commit8c4985298fca616e91b88996c225a9efd04b7500 (patch)
tree1272116a91742978cda60e4130cd541b15cb15f5 /target
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-docs-20200312' into ... (diff)
downloadqemu-8c4985298fca616e91b88996c225a9efd04b7500.tar.gz
qemu-8c4985298fca616e91b88996c225a9efd04b7500.tar.xz
qemu-8c4985298fca616e91b88996c225a9efd04b7500.zip
hw/intc/armv7m_nvic: Rebuild hflags on reset
Some of an M-profile CPU's cached hflags state depends on state that's in our NVIC object. We already do an hflags rebuild when the NVIC registers are written, but we also need to do this on NVIC reset, because there's no guarantee that this will happen before the CPU reset. This fixes an assertion due to mismatched hflags which happens if the CPU is reset from inside a HardFault handler. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200303174950.3298-2-peter.maydell@linaro.org
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions