diff options
Diffstat (limited to 'arch/x86_64/src/kapi/memory.cpp')
| -rw-r--r-- | arch/x86_64/src/kapi/memory.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86_64/src/kapi/memory.cpp b/arch/x86_64/src/kapi/memory.cpp index 0a45a51..5234110 100644 --- a/arch/x86_64/src/kapi/memory.cpp +++ b/arch/x86_64/src/kapi/memory.cpp @@ -1,7 +1,6 @@ #include "kapi/memory.hpp" #include "kapi/boot.hpp" -#include "kapi/cio.hpp" #include "kapi/system.hpp" #include "x86_64/boot/boot.hpp" @@ -17,6 +16,8 @@ #include "x86_64/memory/region_allocator.hpp" #include "x86_64/memory/scoped_mapping.hpp" +#include <kstd/print> + #include <multiboot2/information.hpp> #include <atomic> @@ -164,7 +165,7 @@ namespace teachos::memory system::panic("[x86_64] Memory management has already been initialized."); } - cio::println("[x86_64:MEM] Enabling additional CPU protection features."); + kstd::println("[x86_64:MEM] Enabling additional CPU protection features."); enable_cpu_protections(); @@ -172,7 +173,7 @@ namespace teachos::memory buffered_allocator.emplace(&*region_based_allocator); recursive_page_mapper.emplace(*buffered_allocator); - cio::println("[x86_64:MEM] Preparing new paging hierarchy."); + kstd::println("[x86_64:MEM] Preparing new paging hierarchy."); auto new_pml4_frame = inject_faux_pml4(*buffered_allocator, *recursive_page_mapper); @@ -180,7 +181,7 @@ namespace teachos::memory remap_vga_text_mode_buffer(*recursive_page_mapper); remap_multiboot_information(*recursive_page_mapper); - cio::println("[x86_64:MEM] Switching to new paging hierarchy."); + kstd::println("[x86_64:MEM] Switching to new paging hierarchy."); auto cr3 = cpu::x86_64::cr3::read(); cr3.frame(new_pml4_frame); |
