summaryrefslogtreecommitdiffstats
path: root/target-arm
diff options
context:
space:
mode:
authorEdgar E. Iglesias2015-05-13 08:52:27 +0200
committerPeter Maydell2015-05-18 21:04:17 +0200
commitb65c08ee1a05760c1c5a786a6cedf240f924c53e (patch)
treef120f996e6adb55df01d1b2acc8382c633bfe7c6 /target-arm
parenttarget-arm: Correct accessfn for CNTP_{CT}VAL_EL0 (diff)
downloadqemu-b65c08ee1a05760c1c5a786a6cedf240f924c53e.tar.gz
qemu-b65c08ee1a05760c1c5a786a6cedf240f924c53e.tar.xz
qemu-b65c08ee1a05760c1c5a786a6cedf240f924c53e.zip
target-arm: Correct accessfn for CNTV_TVAL_EL0
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 1431499963-1019-3-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index b6d23106f0..21b45315be 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -1364,6 +1364,7 @@ static const ARMCPRegInfo generic_timer_cp_reginfo[] = {
{ .name = "CNTV_TVAL_EL0", .state = ARM_CP_STATE_AA64,
.opc0 = 3, .opc1 = 3, .crn = 14, .crm = 3, .opc2 = 0,
.type = ARM_CP_NO_RAW | ARM_CP_IO, .access = PL1_RW | PL0_R,
+ .accessfn = gt_vtimer_access,
.readfn = gt_tval_read, .writefn = gt_tval_write,
},
/* The counter itself */