diff options
| author | Greg Bellows | 2015-05-29 12:28:53 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-05-29 12:28:53 +0200 |
| commit | b1eced713d9913a5c58ba9daa795f10e4c856c49 (patch) | |
| tree | 800476afb0efa0af0039f884b235807b3df3e0c9 /include | |
| parent | target-arm: Don't halt on WFI unless we don't have any work (diff) | |
| download | qemu-b1eced713d9913a5c58ba9daa795f10e4c856c49.tar.gz qemu-b1eced713d9913a5c58ba9daa795f10e4c856c49.tar.xz qemu-b1eced713d9913a5c58ba9daa795f10e4c856c49.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
