diff options
author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2015-09-07 10:39:29 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-09-07 10:39:29 +0100 |
commit | 8f6fd322f6e25995629a1a07b56bc5b91fb947ca (patch) | |
tree | 65f0ad0f96cd0aa569fffc099a8c30c4497f67f9 /target-arm/helper.c | |
parent | f128bf297ba100877313cb3e9c0da845da0bb58c (diff) | |
download | hqemu-8f6fd322f6e25995629a1a07b56bc5b91fb947ca.zip hqemu-8f6fd322f6e25995629a1a07b56bc5b91fb947ca.tar.gz |
arm: Remove hw_error() usages.
All of these hw_errors are fatal and indicate something wrong with
QEMU implementation.
Convert to g_assert_not_reached.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-id: 169194d09017e5725535d31a1507d454c0043706.1440842587.git.crosthwaite.peter@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r-- | target-arm/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c index 114d56e..0df4dac 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -4990,7 +4990,7 @@ int bank_number(int mode) case ARM_CPU_MODE_MON: return 7; } - hw_error("bank number requested for bad CPSR mode value 0x%x\n", mode); + g_assert_not_reached(); } void switch_mode(CPUARMState *env, int mode) |