mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-23 23:35:14 +00:00
target-arm: Add PMUSERENR_EL0 register
The Linux kernel accesses this register early in its setup. Backports commit 8a83ffc2dafad3499b87a736b17ab1b203fdb00b from qemu
This commit is contained in:
parent
b29e024f56
commit
a8807cd3b9
|
@ -963,6 +963,9 @@ static const ARMCPRegInfo v7_cp_reginfo[] = {
|
|||
{ "PMUSERENR", 15,9,14, 0,0,0, 0,
|
||||
0, PL0_R | PL1_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.c9_pmuserenr), {0, 0},
|
||||
NULL, NULL, pmuserenr_write, NULL, raw_write },
|
||||
{ "PMUSERENR_EL0", 0,9,14,3,3,0, ARM_CP_STATE_AA64, ARM_CP_ALIAS,
|
||||
PL0_R | PL1_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.c9_pmuserenr), {0, 0},
|
||||
NULL, NULL, pmuserenr_write, NULL, raw_write },
|
||||
{ "PMINTENSET", 15,9,14, 0,0,1, 0,
|
||||
0, PL1_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.c9_pminten), {0, 0},
|
||||
NULL, NULL, pmintenset_write, NULL, raw_write },
|
||||
|
|
Loading…
Reference in a new issue