git: 8b017284319c - main - arm64: Fix the ESR_EL1_op2 value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Aug 2024 10:43:09 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=8b017284319c46d349abee5573d4656bb377b0fd
commit 8b017284319c46d349abee5573d4656bb377b0fd
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-08-29 08:51:30 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-08-29 10:42:34 +0000
arm64: Fix the ESR_EL1_op2 value
This leads to an unallocated register. Fix the value to point to
ESR_EL1.
Sponsored by: Arm Ltd
---
sys/arm64/include/armreg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h
index ce21bf4de0a9..a04afd57585c 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -676,7 +676,7 @@
#define ESR_EL1_op1 0
#define ESR_EL1_CRn 5
#define ESR_EL1_CRm 2
-#define ESR_EL1_op2 1
+#define ESR_EL1_op2 0
/* ESR_EL12 */
#define ESR_EL12_REG MRS_REG_ALT_NAME(ESR_EL12)