mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-21 02:22:51 +00:00
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.
This commit is contained in:
parent
7bfd319652
commit
31f30e732a
Notes:
sideshowbarker
2024-07-18 08:37:00 +09:00
Author: https://github.com/gunnarbeutner
Commit: 31f30e732a
Pull-request: https://github.com/SerenityOS/serenity/pull/8925
Reviewed-by: https://github.com/awesomekling
15 changed files with 67 additions and 86 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue