summaryrefslogtreecommitdiff
path: root/Kernel/Memory
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2023-02-21 21:21:03 +0100
committerIdan Horowitz <idan.horowitz@gmail.com>2023-04-06 21:19:58 +0300
commit6a8581855d4e32ba0da328cd89642d0154484b96 (patch)
tree68c4cb84488db9c6fe60188b8c612f2ab6e20036 /Kernel/Memory
parent188a52db01eed9a5e169eb61ca35fc82f2142cf1 (diff)
downloadserenity-6a8581855d4e32ba0da328cd89642d0154484b96.zip
Kernel/aarch64: Flush entire TLB cache when changing TTBR0_EL1
Setting the page table base register (ttbr0_el1) is not enough, and will not flush the TLB caches, in contrary with x86_64 where setting the CR3 register will actually flush the caches. This commit adds the necessary code to properly flush the TLB caches when context switching. This commit also changes Processor::flush_tlb_local to use the vmalle1 variant, as previously we would be flushing the tlb's of all the cores in the inner-shareable domain.
Diffstat (limited to 'Kernel/Memory')
0 files changed, 0 insertions, 0 deletions