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 ed8566c commit 836d1aeCopy full SHA for 836d1ae
src/structures/paging/mapper/recursive_page_table.rs
@@ -72,7 +72,9 @@ impl<'a> RecursivePageTable<'a> {
72
///
73
/// ## Safety
74
75
- /// The `recursive_index` parameter must be the index of the recursively mapped entry.
+ /// The given page table must be a level 4 page table that is active in the
76
+ /// CPU (i.e. loaded in the CR3 register). The `recursive_index` parameter
77
+ /// must be the index of the recursively mapped entry of that page table.
78
#[inline]
79
pub unsafe fn new_unchecked(table: &'a mut PageTable, recursive_index: PageTableIndex) -> Self {
80
RecursivePageTable {
0 commit comments