mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 17:06:55 +00:00
target/arm: Define FIELDs for ID_DFR0
This is immediately necessary for the PMUv3 implementation to check ID_DFR0.PerfMon to enable/disable specific features, but defines the full complement of fields for possible future use elsewhere. Backports commit beceb99c0c1218d0b55cc04ce6ef77579d3416cb from qemu
This commit is contained in:
parent
4ff0389d2d
commit
346e4226ec
|
@ -1622,6 +1622,15 @@ FIELD(ID_AA64MMFR1, PAN, 20, 4)
|
||||||
FIELD(ID_AA64MMFR1, SPECSEI, 24, 4)
|
FIELD(ID_AA64MMFR1, SPECSEI, 24, 4)
|
||||||
FIELD(ID_AA64MMFR1, XNX, 28, 4)
|
FIELD(ID_AA64MMFR1, XNX, 28, 4)
|
||||||
|
|
||||||
|
FIELD(ID_DFR0, COPDBG, 0, 4)
|
||||||
|
FIELD(ID_DFR0, COPSDBG, 4, 4)
|
||||||
|
FIELD(ID_DFR0, MMAPDBG, 8, 4)
|
||||||
|
FIELD(ID_DFR0, COPTRC, 12, 4)
|
||||||
|
FIELD(ID_DFR0, MMAPTRC, 16, 4)
|
||||||
|
FIELD(ID_DFR0, MPROFDBG, 20, 4)
|
||||||
|
FIELD(ID_DFR0, PERFMON, 24, 4)
|
||||||
|
FIELD(ID_DFR0, TRACEFILT, 28, 4)
|
||||||
|
|
||||||
QEMU_BUILD_BUG_ON(ARRAY_SIZE(((ARMCPU *)0)->ccsidr) <= R_V7M_CSSELR_INDEX_MASK);
|
QEMU_BUILD_BUG_ON(ARRAY_SIZE(((ARMCPU *)0)->ccsidr) <= R_V7M_CSSELR_INDEX_MASK);
|
||||||
|
|
||||||
/* If adding a feature bit which corresponds to a Linux ELF
|
/* If adding a feature bit which corresponds to a Linux ELF
|
||||||
|
|
Loading…
Reference in a new issue