From fd290fd0bca6334e1a720636e985fd6358a32abd Mon Sep 17 00:00:00 2001 From: Miguel Silva Date: Wed, 18 Sep 2024 13:20:59 +0100 Subject: [PATCH] fix(sysreg): Fix generation of ccsdr_el1 assessors Signed-off-by: Miguel Silva --- src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h b/src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h index aac8e17b..76146276 100644 --- a/src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h +++ b/src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h @@ -83,9 +83,8 @@ SYSREG_GEN_ACCESSORS(cptr_el2, 4, c1, c1, 2) // hcptr SYSREG_GEN_ACCESSORS(vtcr_el2, 4, c2, c1, 2) SYSREG_GEN_ACCESSORS_64(vttbr_el2, 6, c2) SYSREG_GEN_ACCESSORS(tpidr_el2, 4, c13, c0, 2) // htpidr -SYSREG_GEN_ACCESSORS(ccsidr, 1, c0, c0, 0) +SYSREG_GEN_ACCESSORS(ccsidr_el1, 1, c0, c0, 0) SYSREG_GEN_ACCESSORS(ccsidr2, 1, c0, c0, 2) -SYSREG_GEN_ACCESSORS_MERGE(ccsidr_el1, ccsidr, ccsidr2) SYSREG_GEN_ACCESSORS(hmair0, 4, c10, c2, 0) SYSREG_GEN_ACCESSORS(hmair1, 4, c10, c2, 1) SYSREG_GEN_ACCESSORS_MERGE(mair_el2, hmair0, hmair1)