mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix the missing '&' in post 09
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user