diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-11 12:02:35 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-11 12:02:35 +0000 |
| commit | 0f3c5c2bc02d7aa48f8edbe42a67dd91821032b7 (patch) | |
| tree | 55b88422c54aafcc8a3af91396641a1592e2f55c /arch/x86_64/include | |
| parent | 325d540236476b50af78e5781e3afead9e910359 (diff) | |
| download | teachos-0f3c5c2bc02d7aa48f8edbe42a67dd91821032b7.tar.xz teachos-0f3c5c2bc02d7aa48f8edbe42a67dd91821032b7.zip | |
Mark the two methods that first work and then fail
Diffstat (limited to 'arch/x86_64/include')
| -rw-r--r-- | arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp b/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp index 53284b6..10fad0c 100644 --- a/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp +++ b/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp @@ -76,6 +76,7 @@ namespace teachos::arch::memory::paging { auto const backup = allocator::physical_frame::containing_address(cpu::read_control_register(cpu::control_register::CR3)); + // TODO: This creates invalid page table that points to nothing, is it the frame (current level 4 page table) auto page_table_level4 = temporary_page.map_table_frame(backup, active_table); active_table[511].set_entry(inactive_table.page_table_level_4_frame, entry::PRESENT | entry::WRITABLE); |
