Mapper
(pmem_offset: VirtAddr)
| 191 | |
| 192 | // Mapper |
| 193 | pub unsafe fn mapper(pmem_offset: VirtAddr) -> OffsetPageTable<'static> |
| 194 | { |
| 195 | let lvl4_tab = active_lvl4_tab(pmem_offset); |
| 196 | OffsetPageTable::new(lvl4_tab, pmem_offset) |
| 197 | } |
| 198 | |
| 199 | |
| 200 | // Memory size |