summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorMichael Davidsaver2017-01-27 16:20:21 +0100
committerPeter Maydell2017-01-27 16:20:21 +0100
commit1b9ea408fca1ce8caae67b792355b023c69c5ac5 (patch)
treee217c5706c66ca991fb8c6fc600c6fff200e8c34 /include/exec
parentarmv7m: Replace armv7m.hack with unassigned_access handler (diff)
downloadqemu-1b9ea408fca1ce8caae67b792355b023c69c5ac5.tar.gz
qemu-1b9ea408fca1ce8caae67b792355b023c69c5ac5.tar.xz
qemu-1b9ea408fca1ce8caae67b792355b023c69c5ac5.zip
armv7m: Explicit error for bad vector table
Give an explicit error and abort when a load from the vector table fails. Architecturally this should HardFault (which will then immediately fail to load the HardFault vector and go into Lockup). Since we don't model Lockup, just report this guest error via cpu_abort(). This is more helpful than the previous behaviour of reading a zero, which is the address of the reset stack pointer and not a sensible location to jump to. Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 1484937883-1068-4-git-send-email-peter.maydell@linaro.org [PMM: expanded commit message] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions