From b23ab34f668e68368a07895db422c6bfca099b88 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 12 Jun 2011 14:53:02 +0000 Subject: [PATCH] I accidentally committed r42122 and r42123 to the signals branch. Merged into trunk. The interesting part of r42122 was already fixed in the trunk, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42124 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/loader/pager.cpp | 2 +- src/system/boot/platform/bios_ia32/mmu.cpp | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/system/boot/loader/pager.cpp b/src/system/boot/loader/pager.cpp index 514a031dc9..24445e55f2 100644 --- a/src/system/boot/loader/pager.cpp +++ b/src/system/boot/loader/pager.cpp @@ -148,7 +148,7 @@ pager(const PagerTextSource& textSource) // print the statistics line at the bottom console_set_cursor(0, height - 1); - console_set_color(BLACK, WHITE); + console_set_color(BLACK, GRAY); int32 bottomLine = std::min(topLine + height - 2, lineCount - 1); printf("%" B_PRIuSIZE " - %" B_PRIuSIZE " %" B_PRIuSIZE "%%", topLine, bottomLine, (bottomLine + 1) * 100 / lineCount); diff --git a/src/system/boot/platform/bios_ia32/mmu.cpp b/src/system/boot/platform/bios_ia32/mmu.cpp index f08854973e..05cb1c68c6 100644 --- a/src/system/boot/platform/bios_ia32/mmu.cpp +++ b/src/system/boot/platform/bios_ia32/mmu.cpp @@ -578,17 +578,24 @@ mmu_init_for_kernel(void) dprintf("phys memory ranges:\n"); for (i = 0; i < gKernelArgs.num_physical_memory_ranges; i++) { - dprintf(" base 0x%08lx, length 0x%08lx\n", gKernelArgs.physical_memory_range[i].start, gKernelArgs.physical_memory_range[i].size); + dprintf(" base %#018" B_PRIxPHYSADDR ", length %#018" + B_PRIxPHYSADDR "\n", gKernelArgs.physical_memory_range[i].start, + gKernelArgs.physical_memory_range[i].size); } dprintf("allocated phys memory ranges:\n"); for (i = 0; i < gKernelArgs.num_physical_allocated_ranges; i++) { - dprintf(" base 0x%08lx, length 0x%08lx\n", gKernelArgs.physical_allocated_range[i].start, gKernelArgs.physical_allocated_range[i].size); + dprintf(" base %#018" B_PRIxPHYSADDR ", length %#018" + B_PRIxPHYSADDR "\n", + gKernelArgs.physical_allocated_range[i].start, + gKernelArgs.physical_allocated_range[i].size); } dprintf("allocated virt memory ranges:\n"); for (i = 0; i < gKernelArgs.num_virtual_allocated_ranges; i++) { - dprintf(" base 0x%08lx, length 0x%08lx\n", gKernelArgs.virtual_allocated_range[i].start, gKernelArgs.virtual_allocated_range[i].size); + dprintf(" base %#018" B_PRIxADDR ", length %#018" B_PRIxSIZE + "\n", gKernelArgs.virtual_allocated_range[i].start, + gKernelArgs.virtual_allocated_range[i].size); } } #endif