diff options
author | Greg Bellows <greg.bellows@linaro.org> | 2015-05-29 11:28:53 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-05-29 11:28:53 +0100 |
commit | b1eced713d9913a5c58ba9daa795f10e4c856c49 (patch) | |
tree | 800476afb0efa0af0039f884b235807b3df3e0c9 /target-arm/kvm.c | |
parent | 84549b6dcf9147559ec08b066de673587be6b763 (diff) |
target-arm: Add WFx instruction trap support
Add support for trapping WFI and WFE instructions to the proper EL when
SCTLR/SCR/HCR settings apply.
Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
[PMM: removed unnecessary tweaking of syn_wfx() prototype;
use raise_exception();
don't trap on WFE (and add comment explaining why not);
remove unnecessary ARM_FEATURE checks;
trap to EL3, not EL1, if in S-EL0 and SCTLR check fires]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-arm/kvm.c')
0 files changed, 0 insertions, 0 deletions