arm64: Don't use hex for ID_AA64MMFR2_EL1_op/CR*
It breaks a future macro that creates the alternative register name for old compilers. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D40892
This commit is contained in:
parent
284f91de8b
commit
2134cfe793
@ -982,11 +982,11 @@
|
||||
|
||||
/* ID_AA64MMFR2_EL1 */
|
||||
#define ID_AA64MMFR2_EL1 MRS_REG(ID_AA64MMFR2_EL1)
|
||||
#define ID_AA64MMFR2_EL1_op0 0x3
|
||||
#define ID_AA64MMFR2_EL1_op1 0x0
|
||||
#define ID_AA64MMFR2_EL1_CRn 0x0
|
||||
#define ID_AA64MMFR2_EL1_CRm 0x7
|
||||
#define ID_AA64MMFR2_EL1_op2 0x2
|
||||
#define ID_AA64MMFR2_EL1_op0 3
|
||||
#define ID_AA64MMFR2_EL1_op1 0
|
||||
#define ID_AA64MMFR2_EL1_CRn 0
|
||||
#define ID_AA64MMFR2_EL1_CRm 7
|
||||
#define ID_AA64MMFR2_EL1_op2 2
|
||||
#define ID_AA64MMFR2_CnP_SHIFT 0
|
||||
#define ID_AA64MMFR2_CnP_MASK (UL(0xf) << ID_AA64MMFR2_CnP_SHIFT)
|
||||
#define ID_AA64MMFR2_CnP_VAL(x) ((x) & ID_AA64MMFR2_CnP_MASK)
|
||||
|
Loading…
Reference in New Issue
Block a user