target-arm: Allow cp access functions to indicate traps to EL2 or EL3
commit38836a2cd47c20daaaa84873e3d6020f19e4bfca
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 29 May 2015 10:28:52 +0000 (29 11:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 May 2015 10:28:52 +0000 (29 11:28 +0100)
treefc60a44ad185291c62720987cf47ebd7c59b552f
parent012a906b19e99b126403ff4a257617dab9b34163
target-arm: Allow cp access functions to indicate traps to EL2 or EL3

Some coprocessor access functions will need to indicate that the
instruction should trap to EL2 or EL3 rather than the default
target exception level; add corresponding CPAccessResult enum
entries and handling code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target-arm/cpu.h
target-arm/op_helper.c