xemu/target-arm
Peter Maydell 755026728a target-arm: correct CNTFRQ access rights
Correct some corner cases we were getting wrong for
CNTFRQ access rights:
 * should UNDEF from 32-bit Secure EL1
 * only writable from the highest implemented exception level,
   which might not be EL1 now

To clarify the code, provide a new utility function
arm_highest_el() which returns the highest implemented
exception level.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
2016-02-18 14:16:15 +00:00
..
2016-01-29 15:07:23 +00:00
2014-06-05 16:10:33 +02:00
2016-01-18 16:33:32 +00:00
2016-02-18 14:16:15 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00
2016-01-18 16:33:32 +00:00