aboutsummaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorMichael Davidsaver <mdavidsaver@gmail.com>2017-01-27 15:20:21 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-01-27 15:20:21 +0000
commit1b9ea408fca1ce8caae67b792355b023c69c5ac5 (patch)
treee217c5706c66ca991fb8c6fc600c6fff200e8c34 /net/net.c
parent542b3478a00cb7ef51c259255b3ab1e2a7daada2 (diff)
downloadqemu-1b9ea408fca1ce8caae67b792355b023c69c5ac5.zip
qemu-1b9ea408fca1ce8caae67b792355b023c69c5ac5.tar.gz
qemu-1b9ea408fca1ce8caae67b792355b023c69c5ac5.tar.bz2
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 'net/net.c')
0 files changed, 0 insertions, 0 deletions