aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-11-11 12:02:35 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-11-11 12:02:35 +0000
commit0f3c5c2bc02d7aa48f8edbe42a67dd91821032b7 (patch)
tree55b88422c54aafcc8a3af91396641a1592e2f55c /arch/x86_64/src
parent325d540236476b50af78e5781e3afead9e910359 (diff)
downloadteachos-0f3c5c2bc02d7aa48f8edbe42a67dd91821032b7.tar.xz
teachos-0f3c5c2bc02d7aa48f8edbe42a67dd91821032b7.zip
Mark the two methods that first work and then fail
Diffstat (limited to 'arch/x86_64/src')
-rw-r--r--arch/x86_64/src/memory/paging/inactive_page_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory/paging/inactive_page_table.cpp b/arch/x86_64/src/memory/paging/inactive_page_table.cpp
index d2eecb8..8ebc8ce 100644
--- a/arch/x86_64/src/memory/paging/inactive_page_table.cpp
+++ b/arch/x86_64/src/memory/paging/inactive_page_table.cpp
@@ -12,7 +12,7 @@ namespace teachos::arch::memory::paging
temporary_page & temporary_page)
: page_table_level_4_frame{frame}
{
- // TODO: Here the exact same mapping code
+ // TODO: Here the exact same mapping code but it actually works?, is it the different frame?
auto table = temporary_page.map_table_frame(page_table_level_4_frame, active_page_table);
table.zero_entries();
table[511].set_entry(page_table_level_4_frame, entry::PRESENT | entry::WRITABLE);