aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2020-09-15 14:15:04 +0000
committerAndrew Turner <andrew@FreeBSD.org>2020-09-15 14:15:04 +0000
commitd6aa5fe5ebf480b21ded1cd12fd326baec83fdb7 (patch)
treed72f7dd3c2e0a453d43aa537d3fe975c474aa775 /sys/arm64
parentc6dce83da8607c8c8e9a3e2fcea9a16816204371 (diff)
Notes
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/arm64/locore.S10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
index b9147df328157..eeda2a4202d43 100644
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -614,10 +614,7 @@ build_l1_block_pagetable:
/* Build the L1 block entry */
orr x12, x7, #L1_BLOCK
- orr x12, x12, #(ATTR_AF)
-#ifdef SMP
- orr x12, x12, ATTR_SH(ATTR_SH_IS)
-#endif
+ orr x12, x12, #(ATTR_DEFAULT)
/* Only use the output address bits */
lsr x9, x9, #L1_SHIFT
@@ -655,11 +652,8 @@ build_l2_block_pagetable:
/* Build the L2 block entry */
lsl x12, x7, #2
orr x12, x12, #L2_BLOCK
- orr x12, x12, #(ATTR_AF)
+ orr x12, x12, #(ATTR_DEFAULT)
orr x12, x12, #(ATTR_S1_UXN)
-#ifdef SMP
- orr x12, x12, ATTR_SH(ATTR_SH_IS)
-#endif
/* Only use the output address bits */
lsr x9, x9, #L2_SHIFT