diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-03 10:47:33 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-03 10:47:33 +0000 |
| commit | d4b1b8a85212f07df47217fe13d86956c7eb064f (patch) | |
| tree | 2ad44bbe5795f6ca8e5796e6cb7d3e0e124ef330 /arch/x86_64/src/kernel/main.cpp | |
| parent | 4d76f412b071a05f0aae1d1307f2b58cb2778569 (diff) | |
| download | teachos-d4b1b8a85212f07df47217fe13d86956c7eb064f.tar.xz teachos-d4b1b8a85212f07df47217fe13d86956c7eb064f.zip | |
Use passed allocator in inactive page instead of tiny.
Diffstat (limited to 'arch/x86_64/src/kernel/main.cpp')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index 5cfd9b3..c111f22 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -20,8 +20,8 @@ namespace teachos::arch::kernel auto const memory_information = memory::multiboot::read_multiboot2(); memory::allocator::area_frame_allocator allocator(memory_information); - memory::paging::kernel_mapper kernel(memory_information); - kernel.remap_kernel(allocator); + memory::paging::kernel_mapper kernel(allocator, memory_information); + kernel.remap_kernel(); video::vga::text::write("Kernel remapping successfull", video::vga::text::common_attributes::green_on_black); /* |
