[Zion] Move to a kernel slab allocator that will allow easier dealloc.

This commit is contained in:
Drew Galbraith 2023-11-15 12:03:42 -08:00
parent 792e5155ba
commit d71d543b2a
6 changed files with 141 additions and 109 deletions

View file

@ -23,7 +23,7 @@ extern "C" void zion() {
early_dbgln("[boot] Init Physical Memory Manager.");
phys_mem::InitBootstrapPageAllocation();
KernelHeap heap(0xFFFFFFFF'40000000, 0xFFFFFFFF'80000000);
KernelHeap heap(0xFFFFFFFF'60000000, 0xFFFFFFFF'80000000);
phys_mem::InitPhysicalMemoryManager();
heap.InitializeSlabAllocators();
phys_mem::DumpRegions();