Hi Rebecca,
On Mon, Jan 4, 2021 at 02:58 PM, Rebecca Cran wrote:
+// UINT32I believe the instruction encoding for CCSIDR2 should be mrc p15,1,r0,c0,c0,2
+// ReadCCSIDR2 (
+// IN UINT32 CSSELR
+// )
+ASM_FUNC(ReadCCSIDR2)
+ mcr p15,2,r0,c0,c0,0 @ Write Cache Size Selection Register (CSSELR)
+ isb
+ mrc p15,1,r0,c0,c2,0 @ Read current CP15 Cache Size ID Register (CCSIDR2)
+ bx lrRegards,
+