On 15.02.2016 20:22, Peter Maydell wrote:
> Mode switches from Hyp to any other mode via the CPS and MRS
> instructions are illegal mode switches (though obviously switching
> via exception return is valid). Add this check to bad_mode_switch().
>
> Signed-off-by: Peter Maydell
Reviewed-by: Serge
Mode switches from Hyp to any other mode via the CPS and MRS
instructions are illegal mode switches (though obviously switching
via exception return is valid). Add this check to bad_mode_switch().
Signed-off-by: Peter Maydell
---
target-arm/helper.c | 12 ++--
1 file changed, 10 inserti