git: d73a0b6014f2 - stable/13 - arm64: Fix the TCR_EPD0 definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Feb 2024 16:44:44 UTC
The branch stable/13 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=d73a0b6014f2048f1e885f9d93dd7016cf5fbda2
commit d73a0b6014f2048f1e885f9d93dd7016cf5fbda2
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-09-06 17:32:15 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-02-19 12:37:15 +0000
arm64: Fix the TCR_EPD0 definition
Sponsored by: Arm Ltd
(cherry picked from commit 8f26d01f53316c055cc1116eb56ff438da50d831)
---
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 2f2cdf08585a..314330021495 100644
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2126,7 +2126,7 @@
#define TCR_IRGN0_SHIFT 8
#define TCR_IRGN0_WBWA (1UL << TCR_IRGN0_SHIFT)
#define TCR_EPD0_SHIFT 7
-#define TCR_EPD0 (1UL << TCR_EPD1_SHIFT)
+#define TCR_EPD0 (1UL << TCR_EPD0_SHIFT)
/* Bit 6 is reserved */
#define TCR_T0SZ_SHIFT 0
#define TCR_T0SZ_MASK 0x3f