diff options
| author | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-17 16:48:26 +0100 |
|---|---|---|
| committer | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-17 16:48:26 +0100 |
| commit | 59504cfd677dd3e9d9ddb0deea4df7614efedb84 (patch) | |
| tree | 3684051154caa18fa488c01a8c1495ced513eaa4 | |
| parent | 01d59096b1ade0b3d4e1ce77e11065b31bbd1003 (diff) | |
| download | teachos-59504cfd677dd3e9d9ddb0deea4df7614efedb84.tar.xz teachos-59504cfd677dd3e9d9ddb0deea4df7614efedb84.zip | |
fix rebase (use higher_half_mapper not recursive_page_mapper)
| -rw-r--r-- | arch/x86_64/kapi/memory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/kapi/memory.cpp b/arch/x86_64/kapi/memory.cpp index a354576..547d359 100644 --- a/arch/x86_64/kapi/memory.cpp +++ b/arch/x86_64/kapi/memory.cpp @@ -119,7 +119,7 @@ namespace kapi::memory mapper.map(page, frame, page_mapper::flags::supervisor_only); } } - + [[maybe_unused]] auto remap_bootloader_modules(page_mapper & mapper) -> void { std::ranges::for_each(boot::bootstrap_information.mbi->modules(), [&mapper](auto const & module) { @@ -223,7 +223,7 @@ namespace kapi::memory remap_kernel(*higher_half_mapper); remap_vga_text_mode_buffer(*higher_half_mapper); remap_multiboot_information(*higher_half_mapper); - remap_bootloader_modules(*recursive_page_mapper); + remap_bootloader_modules(*higher_half_mapper); auto current_cr3 = arch::cpu::cr3::read(); auto old_pml4 = static_cast<arch::memory::page_table *>(current_cr3.address()); |
