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 fdc122e commit bb7a3e7Copy full SHA for bb7a3e7
src/bootinfo/mod.rs
@@ -85,6 +85,12 @@ impl BootInfo {
85
None
86
}
87
88
+
89
+ /// Returns the index into the page tables that recursively maps the page tables themselves.
90
+ #[cfg(feature = "recursive_page_table")]
91
+ pub fn recursive_index(&self) -> u16 {
92
+ ((self.recursive_page_table_addr >> 12) & 0x1FF) as u16
93
+ }
94
95
96
/// Information about the thread local storage (TLS) template.
0 commit comments