1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

Correcting the bug of %p modifier

This commit is contained in:
Adrien Bourmault 2019-04-01 22:12:25 +02:00
commit 5d9324ab68
2 changed files with 4 additions and 3 deletions

View File

@ -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;
}

View File

@ -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();