mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-27 06:12:15 +00:00
kern: fix asid tlb invalidation
This commit is contained in:
parent
dea1235e12
commit
43ad4eb794
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ namespace ams::kern::arch::arm64::cpu {
|
||||||
|
|
||||||
ALWAYS_INLINE void InvalidateTlbByAsid(u32 asid) {
|
ALWAYS_INLINE void InvalidateTlbByAsid(u32 asid) {
|
||||||
const u64 value = (static_cast<u64>(asid) << 48);
|
const u64 value = (static_cast<u64>(asid) << 48);
|
||||||
__asm__ __volatile__("tlbi aside1is, %[value]" :: [value]"r"(static_cast<u64>(value) << 48) : "memory");
|
__asm__ __volatile__("tlbi aside1is, %[value]" :: [value]"r"(value) : "memory");
|
||||||
EnsureInstructionConsistency();
|
EnsureInstructionConsistency();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue