mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 20:42:11 +02:00
Kernel: Move region dumps from dmesg to debug log
Also fix a broken format string caught by the new format string checks.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 22:24:04 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4e2802bf91e
@@ -882,7 +882,10 @@ void MemoryManager::dump_kernel_regions()
|
||||
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} {}", region.vaddr().get(), region.vaddr().offset(region.size() - 1).get(), region.size(),
|
||||
dbgln("{:08x} -- {:08x} {:08x} {:c}{:c}{:c}{:c}{:c}{:c} {}",
|
||||
region.vaddr().get(),
|
||||
region.vaddr().offset(region.size() - 1).get(),
|
||||
region.size(),
|
||||
region.is_readable() ? 'R' : ' ',
|
||||
region.is_writable() ? 'W' : ' ',
|
||||
region.is_executable() ? 'X' : ' ',
|
||||
|
||||
Reference in New Issue
Block a user