diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2026-02-18 15:10:44 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2026-02-18 15:15:41 +0000 |
| commit | f4d1a3ab0271216df05bab14c641d8023cc43a04 (patch) | |
| tree | 50b4eb0638e984f3a4a67ad7af8e52ba1cdd7152 | |
| parent | bfb7c81f93b534f8c10928d80ea56c8177a6f39f (diff) | |
arm64: Fix the ESR_ELx_EC_MASK definition
Sponsored by: Arm Ltd
| -rw-r--r-- | sys/arm64/include/armreg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index 138a1eff51ac..271fe693cdea 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -658,7 +658,7 @@ #define ISS_DATA_DFSC_TLB_CONFLICT (0x30 << 0) #define ESR_ELx_IL (0x01 << 25) #define ESR_ELx_EC_SHIFT 26 -#define ESR_ELx_EC_MASK (0x3f << 26) +#define ESR_ELx_EC_MASK (UL(0x3f) << 26) #define ESR_ELx_EXCEPTION(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT) #define EXCP_UNKNOWN 0x00 /* Unkwn exception */ #define EXCP_TRAP_WFI_WFE 0x01 /* Trapped WFI or WFE */ |
