Add a debug mode for the KernelHeap.
This commit is contained in:
parent
40b21d9c75
commit
eb04242a59
4 changed files with 59 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ extern "C" void zion() {
|
|||
dbgln("[boot] Loading sys init program.");
|
||||
LoadInitProgram();
|
||||
|
||||
dbgln("[boot] Allocs during boot:");
|
||||
heap.DumpDistribution();
|
||||
|
||||
dbgln("[boot] Init finished, yielding.");
|
||||
gScheduler->Enable();
|
||||
gScheduler->Yield();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue