[zion] Add a basic slab allocator to the kernel.
Don't free from the slab allocator yet but allocations appear to work.
This commit is contained in:
parent
e3a425e274
commit
ee603b7478
4 changed files with 169 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ extern "C" void zion() {
|
|||
phys_mem::InitBootstrapPageAllocation();
|
||||
KernelHeap heap(0xFFFFFFFF'40000000, 0xFFFFFFFF'80000000);
|
||||
phys_mem::InitPhysicalMemoryManager();
|
||||
heap.InitializeSlabAllocators();
|
||||
|
||||
dbgln("[boot] Memory allocations available now.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue