From 169af2d2cb062565b3f865fe578b49352e4784b3 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 18 Dec 2025 14:08:11 +0100 Subject: x86_64/memory: simplify log messages --- arch/x86_64/src/memory/kernel_mapper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'arch') diff --git a/arch/x86_64/src/memory/kernel_mapper.cpp b/arch/x86_64/src/memory/kernel_mapper.cpp index 4781d64..5295bb3 100644 --- a/arch/x86_64/src/memory/kernel_mapper.cpp +++ b/arch/x86_64/src/memory/kernel_mapper.cpp @@ -70,8 +70,7 @@ namespace teachos::memory::x86_64 auto kernel_mapper::map_section(section_header_type const & section, std::string_view name, page_mapper & mapper) -> void { - cio::print("[x86_64:MEM] mapping "); - cio::println(name); + cio::println("[x86_64:MEM] mapping {} ({} bytes)", name, section.size); auto number_of_pages = (section.size + (PLATFORM_PAGE_SIZE - 1)) / PLATFORM_PAGE_SIZE; -- cgit v1.2.3