diff options
| author | Peter Maydell | 2016-02-11 12:17:31 +0100 |
|---|---|---|
| committer | Peter Maydell | 2016-02-11 12:17:31 +0100 |
| commit | 2f027fc52d4b444a47cb05a9c96697372a6b57d2 (patch) | |
| tree | fd7d45998124be4a5e4cbecdf146a46ab308defc /include/exec/exec-all.h | |
| parent | target-arm: Add isread parameter to CPAccessFns (diff) | |
| download | qemu-2f027fc52d4b444a47cb05a9c96697372a6b57d2.tar.gz qemu-2f027fc52d4b444a47cb05a9c96697372a6b57d2.tar.xz qemu-2f027fc52d4b444a47cb05a9c96697372a6b57d2.zip | |
target-arm: Implement NSACR trapping behaviour
Implement some corner cases of the behaviour of the NSACR
register on ARMv8:
* if EL3 is AArch64 then accessing the NSACR from Secure EL1
with AArch32 should trap to EL3
* if EL3 is not present or is AArch64 then reads from NS EL1 and
NS EL2 return constant 0xc00
It would in theory be possible to implement all these with
a single reginfo definition, but for clarity we use three
separate definitions for the three cases and install the
right one based on the CPU feature flags.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1454506721-11843-7-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
