diff --git a/kaleid/kernel/buf/bprint.c b/kaleid/kernel/buf/bprint.c index b45931f..a75ee22 100644 --- a/kaleid/kernel/buf/bprint.c +++ b/kaleid/kernel/buf/bprint.c @@ -274,7 +274,7 @@ loop: // Pointers: %p = %#012x // (48-bit pointers have width 12 at least) else if (type == 'p') { - type = 'x'; base = 16; zero++; hash++; + type = 'x'; base = 16; zero++; hash++; l++; if (width < 12) width = 12; } diff --git a/kaleid/kernel/init/init.c b/kaleid/kernel/init/init.c index 208efb0..a5f6bcb 100644 --- a/kaleid/kernel/init/init.c +++ b/kaleid/kernel/init/init.c @@ -150,13 +150,14 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic) //Memory mapping MmInitMemoryMap(); + // Several inits MmInitHeap(); + PsInitSched(); //int i = 0; //while(i < 512) { KernLog("%d\n", i++);} - MmPrintMemoryMap(); - PsInitSched(); + MmPrintMemoryMap(); // We're out PsFiniSched();