We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4a51ea commit 728c39bCopy full SHA for 728c39b
src/structures/paging/page_table.rs
@@ -53,7 +53,7 @@ impl PageTableEntry {
53
/// Returns the physical address mapped by this entry, might be zero.
54
#[inline]
55
pub fn addr(&self) -> PhysAddr {
56
- PhysAddr::new(self.entry & 0x000fffff_fffff000)
+ PhysAddr::new(self.entry & 0x000f_ffff_ffff_f000)
57
}
58
59
/// Returns the physical frame mapped by this entry.
0 commit comments