Correcting the bug with %p modifier
This commit is contained in:
parent
dca1dd3168
commit
0b312f7685
|
@ -274,7 +274,7 @@ loop:
|
||||||
// Pointers: %p = %#012x
|
// Pointers: %p = %#012x
|
||||||
// (48-bit pointers have width 12 at least)
|
// (48-bit pointers have width 12 at least)
|
||||||
else if (type == 'p') {
|
else if (type == 'p') {
|
||||||
type = 'x'; base = 16; zero++; hash++;
|
type = 'x'; base = 16; zero++; hash++; l++;
|
||||||
if (width < 12) width = 12;
|
if (width < 12) width = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,7 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic)
|
||||||
|
|
||||||
//int i = 0;
|
//int i = 0;
|
||||||
//while(i < 512) { KernLog("%d\n", i++);}
|
//while(i < 512) { KernLog("%d\n", i++);}
|
||||||
|
//MmPrintMemoryMap();
|
||||||
|
|
||||||
PsInitSched();
|
PsInitSched();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue