target-arm: Add Hyp mode checks to bad_mode_switch()
commite6c8fc07b4fce0729bb747770756835f4b0ca7f4
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Feb 2016 15:36:44 +0000 (23 15:36 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Feb 2016 15:09:41 +0000 (26 15:09 +0000)
tree32207373dc720e995216f6d7563543155e3a6238
parent52ff951b4f63a29593650a15efdf82f63d6d962d
target-arm: Add Hyp mode checks to bad_mode_switch()

We don't actually support Hyp mode yet, but add the correct
checks for it to the bad_mode_switch() function for completeness.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1455556977-3644-8-git-send-email-peter.maydell@linaro.org
target-arm/helper.c