Correcting the bug with %p modifier

This commit is contained in:
Adrien Bourmault 2019-04-01 22:10:45 +02:00
parent dca1dd3168
commit 0b312f7685
2 changed files with 2 additions and 1 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

@ -154,6 +154,7 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic)
//int i = 0;
//while(i < 512) { KernLog("%d\n", i++);}
//MmPrintMemoryMap();
PsInitSched();