aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/memory')
-rw-r--r--arch/x86_64/src/memory/kernel_mapper.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/kernel_mapper.cpp b/arch/x86_64/src/memory/kernel_mapper.cpp
index 5295bb3..50fa325 100644
--- a/arch/x86_64/src/memory/kernel_mapper.cpp
+++ b/arch/x86_64/src/memory/kernel_mapper.cpp
@@ -1,11 +1,12 @@
#include "x86_64/memory/kernel_mapper.hpp"
-#include "kapi/cio.hpp"
#include "kapi/memory.hpp"
#include "kapi/system.hpp"
#include "x86_64/boot/ld.hpp"
+#include <kstd/print>
+
#include <elf/format.hpp>
#include <elf/section_header.hpp>
#include <multiboot2/information.hpp>
@@ -70,7 +71,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::println("[x86_64:MEM] mapping {} ({} bytes)", name, section.size);
+ kstd::println("[x86_64:MEM] mapping {} ({} bytes)", name, section.size);
auto number_of_pages = (section.size + (PLATFORM_PAGE_SIZE - 1)) / PLATFORM_PAGE_SIZE;