diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-23 15:36:44 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-26 15:09:42 +0000 |
| commit | 10eacda787ac9990dc22d4437b289200c819712c (patch) | |
| tree | caa862b1bf1e43cb95f4a913abce22f442d33236 /ui/spice-input.c | |
| parent | af393ffc6da116b9dd4c70901bad1f4cafb1773d (diff) | |
| download | focaccia-qemu-10eacda787ac9990dc22d4437b289200c819712c.tar.gz focaccia-qemu-10eacda787ac9990dc22d4437b289200c819712c.zip | |
target-arm: Make Monitor->NS PL1 mode changes illegal if HCR.TGE is 1
If HCR.TGE is 1 then mode changes via CPS and MSR from Monitor to NonSecure PL1 modes are illegal mode changes. Implement this check in bad_mode_switch(). (We don't currently implement HCR.TGE, but this is the only missing check from the v8 ARM ARM G1.9.3 and so it's worth adding now; the rest of the HCR.TGE checks can be added later as necessary.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com> Message-id: 1455556977-3644-12-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'ui/spice-input.c')
0 files changed, 0 insertions, 0 deletions