mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
Kernel/aarch64: Implement tlb flushing
This initial implementation flushes the complete tlb cache. A FIXME is added to implement the partial tlb flushing.
This commit is contained in:
parent
424a974e01
commit
57901a6f62
2 changed files with 11 additions and 5 deletions
|
@ -77,10 +77,7 @@ public:
|
|||
}
|
||||
|
||||
static void flush_tlb_local(VirtualAddress vaddr, size_t page_count);
|
||||
ALWAYS_INLINE static void flush_tlb(Memory::PageDirectory const*, VirtualAddress const&, size_t)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
static void flush_tlb(Memory::PageDirectory const*, VirtualAddress, size_t);
|
||||
|
||||
// FIXME: When aarch64 supports multiple cores, return the correct core id here.
|
||||
ALWAYS_INLINE static u32 current_id()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue