diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-01 15:34:03 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-01 15:34:03 +0000 |
| commit | d488a0709c5a2701482130a3d9c972c0b468a1d2 (patch) | |
| tree | 8919424d89fbe3c612daafb1ff97dab2b746a5b3 /arch/x86_64/src/memory | |
| parent | 54cdc10862d95ccaf70def277946625d8c721113 (diff) | |
| download | teachos-d488a0709c5a2701482130a3d9c972c0b468a1d2.tar.xz teachos-d488a0709c5a2701482130a3d9c972c0b468a1d2.zip | |
Fix typo
Diffstat (limited to 'arch/x86_64/src/memory')
| -rw-r--r-- | arch/x86_64/src/memory/paging/tlb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory/paging/tlb.cpp b/arch/x86_64/src/memory/paging/tlb.cpp index b3255e9..c1160dc 100644 --- a/arch/x86_64/src/memory/paging/tlb.cpp +++ b/arch/x86_64/src/memory/paging/tlb.cpp @@ -3,5 +3,5 @@ namespace teachos::arch::memory::paging { auto tlb_flush(virtual_address address) -> void { asm volatile("invlpg (%0)" ::"r"(address) : "memory"); } - auto tlb_flush_all() -> void { flush(PAGE_TABLE_LEVEL_4_ADDRESS); } + auto tlb_flush_all() -> void { tlb_flush(PAGE_TABLE_LEVEL_4_ADDRESS); } } // namespace teachos::arch::memory::paging |
