Merge pull request #1409 from fduxiao/main

Fix the missing '&' in post 09
This commit is contained in:
Philipp Oppermann
2025-04-21 11:12:07 +02:00
committed by GitHub

View File

@@ -399,7 +399,7 @@ pub unsafe fn active_level_4_table(physical_memory_offset: VirtAddr)
let virt = physical_memory_offset + phys.as_u64();
let page_table_ptr: *mut PageTable = virt.as_mut_ptr();
unsafe { mut *page_table_ptr }
unsafe { &mut *page_table_ptr }
}
```