[Zion] Add a method to dump the bootloader memory regions.

This commit is contained in:
Drew Galbraith 2023-11-08 08:07:57 -08:00
parent 17ed4ca1f6
commit a745f45b5d
4 changed files with 40 additions and 136 deletions

View file

@ -26,6 +26,7 @@ extern "C" void zion() {
KernelHeap heap(0xFFFFFFFF'40000000, 0xFFFFFFFF'80000000);
phys_mem::InitPhysicalMemoryManager();
heap.InitializeSlabAllocators();
phys_mem::DumpRegions();
dbgln("[boot] Memory allocations available now.");