| 23 | use core::arch::asm; |
| 24 | |
| 25 | struct MemoryInfo { |
| 26 | boot_info: &'static BootInfo, |
| 27 | |
| 28 | physical_memory_offset: VirtAddr, |
| 29 | |
| 30 | /// Allocate empty frames |
| 31 | frame_allocator: MultilevelBitmapFrameAllocator, |
| 32 | |
| 33 | /// Kernel page table physical address |
| 34 | kernel_l4_table: &'static mut PageTable |
| 35 | } |
| 36 | |
| 37 | /// Store BootInfo struct and other useful things for later use |
| 38 | /// This is set in the init() function and should not be |
nothing calls this directly
no outgoing calls
no test coverage detected