Hello guys! So this is my current code:
fn collect_page_tables(&self, page: &Page) -> Option<PageTables> {
// ...
while ... {
// ...
let table_entry = unsafe { &(*pt_ptr)[entry_index] };
// ...
}
// ...
}
Am I using unsafe correctly here or should I rather mark the whole function as unsafe?