diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-07-21 19:53:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-22 08:57:01 +0200 |
commit | 31f30e732a947cabdefcd3a7d3758fa5ff3601fa (patch) | |
tree | 9d492dc3592ab739a92c9e396e64e2ae1dc08f9c /Kernel/VM/MemoryManager.cpp | |
parent | 7bfd319652052c04999ed722d70ede7568e1907a (diff) | |
download | serenity-31f30e732a947cabdefcd3a7d3758fa5ff3601fa.zip |
Everywhere: Prefix hexadecimal numbers with 0x
Depending on the values it might be difficult to figure out whether a
value is decimal or hexadecimal. So let's make this more obvious. Also
this allows copying and pasting those numbers into GNOME calculator and
probably also other apps which auto-detect the base.
Diffstat (limited to 'Kernel/VM/MemoryManager.cpp')
-rw-r--r-- | Kernel/VM/MemoryManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/VM/MemoryManager.cpp b/Kernel/VM/MemoryManager.cpp index fd178a84cd..49a3d2d131 100644 --- a/Kernel/VM/MemoryManager.cpp +++ b/Kernel/VM/MemoryManager.cpp @@ -1121,10 +1121,10 @@ void MemoryManager::unregister_region(Region& region) void MemoryManager::dump_kernel_regions() { dbgln("Kernel regions:"); - dbgln("BEGIN END SIZE ACCESS NAME"); + dbgln("BEGIN END SIZE ACCESS NAME"); ScopedSpinLock lock(s_mm_lock); for (auto& region : m_kernel_regions) { - dbgln("{:08x} -- {:08x} {:08x} {:c}{:c}{:c}{:c}{:c}{:c} {}", + dbgln("{:p} -- {:p} {:p} {:c}{:c}{:c}{:c}{:c}{:c} {}", region.vaddr().get(), region.vaddr().offset(region.size() - 1).get(), region.size(), |