diff options
| -rw-r--r-- | arch/x86_64/arch/memory/higher_half_mapper.cpp | 2 | ||||
| -rw-r--r-- | arch/x86_64/arch/memory/mmu.hpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86_64/arch/memory/higher_half_mapper.cpp b/arch/x86_64/arch/memory/higher_half_mapper.cpp index 9019e25b..ee11d50a 100644 --- a/arch/x86_64/arch/memory/higher_half_mapper.cpp +++ b/arch/x86_64/arch/memory/higher_half_mapper.cpp @@ -1,5 +1,6 @@ #include <arch/memory/higher_half_mapper.hpp> +#include <arch/memory/mmu.hpp> #include <arch/memory/page_table.hpp> #include <arch/memory/page_utilities.hpp> @@ -99,6 +100,7 @@ namespace arch::memory } } + tlb_flush(page.start_address()); return unmapped_frame; } diff --git a/arch/x86_64/arch/memory/mmu.hpp b/arch/x86_64/arch/memory/mmu.hpp index 9bd95b43..934aa63f 100644 --- a/arch/x86_64/arch/memory/mmu.hpp +++ b/arch/x86_64/arch/memory/mmu.hpp @@ -7,7 +7,7 @@ namespace arch::memory { //! Invalidate a translation lookaside buffer (TLB) entry for a given address //! - //! @param address The physical address for which to flush the TLB entries + //! @param address The linear address for which to flush the TLB entries auto tlb_flush(kapi::memory::linear_address address) -> void; //! Invalidate all translation lookaside buffer (TLB) entries |
