git: 4b516226dc39 - main - arm64: Add CTR_EL0 op and CR values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Dec 2024 18:18:59 UTC
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=4b516226dc39c6c1918cb85a254fed59570bdc4f commit 4b516226dc39c6c1918cb85a254fed59570bdc4f Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2024-12-11 17:55:31 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2024-12-12 18:00:22 +0000 arm64: Add CTR_EL0 op and CR values Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47813 --- sys/arm64/include/armreg.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index 93758da884a1..e955f3f4a5c0 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -363,6 +363,13 @@ #define CSSELR_InD 0x00000001 /* CTR_EL0 - Cache Type Register */ +#define CTR_EL0 MRS_REG(CTR_EL0) +#define CTR_EL0_REG MRS_REG_ALT_NAME(CTR_EL0) +#define CTR_EL0_op0 3 +#define CTR_EL0_op1 3 +#define CTR_EL0_CRn 0 +#define CTR_EL0_CRm 0 +#define CTR_EL0_op2 1 #define CTR_RES1 (1 << 31) #define CTR_TminLine_SHIFT 32 #define CTR_TminLine_MASK (UL(0x3f) << CTR_TminLine_SHIFT)