aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2021-09-21 13:46:10 +0000
committerAndrew Turner <andrew@FreeBSD.org>2021-09-21 13:47:34 +0000
commit5a619ca07a2d6614b7b4ecbb7078d0949702dcd2 (patch)
treebd35751af7699c84cbefa25643d42df609291fc5 /sys/arm64
parent806ebc9eba2a45638d63ae8a2ed20e6fb44dd06e (diff)
downloadsrc-5a619ca07a2d6614b7b4ecbb7078d0949702dcd2.tar.gz
src-5a619ca07a2d6614b7b4ecbb7078d0949702dcd2.zip
Fix the arm64 L2_BLOCK_MASK definition
It was missing the top 16 bits. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/include/pte.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/include/pte.h b/sys/arm64/include/pte.h
index 5d4412d2c141..b3bec720e9f9 100644
--- a/sys/arm64/include/pte.h
+++ b/sys/arm64/include/pte.h
@@ -125,7 +125,7 @@ typedef uint64_t pt_entry_t; /* page table entry */
#define L2_BLOCK L1_BLOCK
#define L2_TABLE L1_TABLE
-#define L2_BLOCK_MASK UINT64_C(0xffffffe00000)
+#define L2_BLOCK_MASK UINT64_C(0xffffffffffe00000)
/* Level 3 table, 4KiB per entry */
#define L3_SHIFT 12