diff options
Diffstat (limited to 'arch/x86_64/src')
| -rw-r--r-- | arch/x86_64/src/memory/paging/page_entry.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/src/memory/paging/page_entry.cpp b/arch/x86_64/src/memory/paging/page_entry.cpp index c76c673..57e33f7 100644 --- a/arch/x86_64/src/memory/paging/page_entry.cpp +++ b/arch/x86_64/src/memory/paging/page_entry.cpp @@ -39,6 +39,8 @@ namespace teachos::arch::memory::paging auto entry::set_user_accesible() -> 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)) |
