mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-11 05:46:12 +00:00
target/arm: Correct definition of PMCRDP
The PMCR_EL0.DP bit is bit 5, which is 0x20, not 0x10. 0x10 is 'X'. Correct our #define of PMCRDP and add the missing PMCRX. We do have the correct behaviour for handling the DP bit being set, so this fixes a guest-visible bug. Fixes: 033614c47de Backports commit a1ed04dd79aabb9dbeeb5fa7d49f1a3de0357553 from qemu
This commit is contained in:
parent
28b239adb9
commit
de428e4b45
|
@ -871,7 +871,8 @@ static const ARMCPRegInfo v6_cp_reginfo[] = {
|
|||
#define PMCRN_MASK 0xf800
|
||||
#define PMCRN_SHIFT 11
|
||||
#define PMCRLC 0x40
|
||||
#define PMCRDP 0x10
|
||||
#define PMCRDP 0x20
|
||||
#define PMCRX 0x10
|
||||
#define PMCRD 0x8
|
||||
#define PMCRC 0x4
|
||||
#define PMCRP 0x2
|
||||
|
|
Loading…
Reference in a new issue