summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-02-27 17:36:53 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-02-27 17:36:53 +0000
commita5251e952e2d1f50dda6e686b7e201dbcac371fe (patch)
treeabaea3a23c67159300c96d1839e20099a7117dee /sys/arch
parent571e156dcc9e518f33e11a57d01a12dddca5634f (diff)
Adjust definition of DART_L1_TABLE to what Linux uses.
ok jsg@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/dev/apldart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/dev/apldart.c b/sys/arch/arm64/dev/apldart.c
index 96b3a061ccf..6eaafdbeb42 100644
--- a/sys/arch/arm64/dev/apldart.c
+++ b/sys/arch/arm64/dev/apldart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apldart.c,v 1.9 2022/02/06 19:10:07 kettenis Exp $ */
+/* $OpenBSD: apldart.c,v 1.10 2022/02/27 17:36:52 kettenis Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
@@ -70,7 +70,7 @@
*/
#define DART_OFFSET_MASK 7
-#define DART_L1_TABLE 0xb
+#define DART_L1_TABLE 0x3
#define DART_L2_INVAL 0
#define DART_L2_VALID (1 << 0)
#define DART_L2_FULL_PAGE (1 << 1)