Add missing safety explanations for the page table node

This commit is contained in:
Zhang Junyang
2024-06-02 10:20:57 +00:00
committed by Tate, Hongliang Tian
parent 3579d88aa6
commit e8595b95fe
4 changed files with 89 additions and 54 deletions

View File

@ -201,7 +201,7 @@ where
/// Traverse forward in the current level to the next PTE.
///
/// If reached the end of a page table frame, it leads itself up to the next frame of the parent
/// If reached the end of a page table node, it leads itself up to the next frame of the parent
/// frame if possible.
fn move_forward(&mut self) {
let page_size = page_size::<C>(self.level);