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.

Backports commit 8f6fd322f6e25995629a1a07b56bc5b91fb947ca from qemu
This commit is contained in:
Peter Crosthwaite 2018-02-15 10:59:16 -05:00 committed by Lioncash
parent 1b88e0e8c8
commit 83aa10f77d
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -4370,7 +4370,7 @@ int bank_number(int mode)
case ARM_CPU_MODE_MON: case ARM_CPU_MODE_MON:
return 7; 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) void switch_mode(CPUARMState *env, int mode)