mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 23:16:50 +00:00
target-arm: Correct accessfn for CNTV_TVAL_EL0
Backports commit b65c08ee1a05760c1c5a786a6cedf240f924c53e from qemu
This commit is contained in:
parent
a28d3e4bb7
commit
efe96d29f3
|
@ -1162,7 +1162,7 @@ static const ARMCPRegInfo generic_timer_cp_reginfo[] = {
|
|||
gt_vtimer_access, gt_tval_read, gt_tval_write, },
|
||||
{ "CNTV_TVAL_EL0", 0,14,3, 3,3,0, ARM_CP_STATE_AA64,
|
||||
ARM_CP_NO_RAW | ARM_CP_IO, PL1_RW | PL0_R, 0, NULL, 0, 0, {0, 0},
|
||||
NULL, gt_tval_read, gt_tval_write, },
|
||||
gt_vtimer_access, gt_tval_read, gt_tval_write, },
|
||||
/* The counter itself */
|
||||
{ "CNTPCT", 15,0,14, 0,0, 0, 0,
|
||||
ARM_CP_64BIT | ARM_CP_NO_RAW | ARM_CP_IO, PL0_R, 0, NULL, 0, 0, {0, 0},
|
||||
|
|
Loading…
Reference in a new issue