aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2025-05-16 13:27:16 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2025-05-16 13:27:16 +0000
commit5c314eef566df2732973e8cb35974ec49748adba (patch)
treefff3f587c7c5c32fd30362dc92c4b07cc68603e7 /arch/x86_64/src/memory
parentd4cc546df6eba2dd287785f1a63fbcce4a1b9bc0 (diff)
downloadteachos-5c314eef566df2732973e8cb35974ec49748adba.tar.xz
teachos-5c314eef566df2732973e8cb35974ec49748adba.zip
Fix bug where level 4 to level 2 entries are not mapped user accesible.
Diffstat (limited to 'arch/x86_64/src/memory')
-rw-r--r--arch/x86_64/src/memory/paging/page_entry.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/paging/page_entry.cpp b/arch/x86_64/src/memory/paging/page_entry.cpp
index a5b44fa..57045ca 100644
--- a/arch/x86_64/src/memory/paging/page_entry.cpp
+++ b/arch/x86_64/src/memory/paging/page_entry.cpp
@@ -39,8 +39,6 @@ namespace teachos::arch::memory::paging
auto entry::set_user_accessible() -> void { flags |= entry::USER_ACCESSIBLE; }
- auto entry::set_global() -> void { flags |= entry::GLOBAL; }
-
auto entry::calculate_pointed_to_frame() const -> std::optional<allocator::physical_frame>
{
if (contains_flags(PRESENT))