aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2024-10-20 08:11:19 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2024-10-20 08:11:19 +0000
commit882ccdcc0e3c19fbcc595c6a371ef79587f63648 (patch)
tree2520cfb16eebc6f58206fe96633183946533da87 /arch/x86_64/src/memory
parentf8928c877c48b5beba9bb42876f70213aba68f88 (diff)
downloadteachos-882ccdcc0e3c19fbcc595c6a371ef79587f63648.tar.xz
teachos-882ccdcc0e3c19fbcc595c6a371ef79587f63648.zip
implement translate_page
Diffstat (limited to 'arch/x86_64/src/memory')
-rw-r--r--arch/x86_64/src/memory/paging/page_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory/paging/page_table.cpp b/arch/x86_64/src/memory/paging/page_table.cpp
index 3fb7a3f..3c4f6d8 100644
--- a/arch/x86_64/src/memory/paging/page_table.cpp
+++ b/arch/x86_64/src/memory/paging/page_table.cpp
@@ -21,7 +21,7 @@ namespace teachos::arch::memory::paging
}
}
- auto page_table::next_table(std::size_t table_index) -> void
+ auto page_table::next_table(std::size_t table_index) -> bool
{
exception_handling::assert(current_level != LEVEL1,
"[Page Table] Attempted to call next_table on level 1 page table");