Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144604166
D26510.1775698338.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
790 B
Referenced Files
None
Subscribers
None
D26510.1775698338.diff
View Options
Index: sys/arm64/arm64/pmap.c
===================================================================
--- sys/arm64/arm64/pmap.c
+++ sys/arm64/arm64/pmap.c
@@ -440,7 +440,7 @@
pd_entry_t l1, *l2p;
l1 = pmap_load(l1p);
- KASSERT((l1 & ATTR_DESCR_MASK) == L1_TABLE,
+ KASSERT((l1 & ATTR_DESCR_TYPE_MASK) == ATTR_DESCR_TYPE_TABLE,
("%s: L1 entry %#lx is a leaf", __func__, l1));
l2p = (pd_entry_t *)PHYS_TO_DMAP(l1 & ~ATTR_MASK);
return (&l2p[pmap_l2_index(va)]);
@@ -465,7 +465,7 @@
pt_entry_t *l3p;
l2 = pmap_load(l2p);
- KASSERT((l2 & ATTR_DESCR_MASK) == L2_TABLE,
+ KASSERT((l2 & ATTR_DESCR_TYPE_MASK) == ATTR_DESCR_TYPE_TABLE,
("%s: L2 entry %#lx is a leaf", __func__, l2));
l3p = (pt_entry_t *)PHYS_TO_DMAP(l2 & ~ATTR_MASK);
return (&l3p[pmap_l3_index(va)]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 1:32 AM (27 m, 54 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28305453
Default Alt Text
D26510.1775698338.diff (790 B)
Attached To
Mode
D26510: Weaken assertions in pmap_l1_to_l2() and pmap_l2_to_l3().
Attached
Detach File
Event Timeline
Log In to Comment