1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-08 21:21:48 +00:00

kern: fix asid tlb invalidation

This commit is contained in:
Michael Scire 2020-07-21 00:56:57 -07:00 committed by SciresM
parent dea1235e12
commit 43ad4eb794

View file

@ -192,7 +192,7 @@ namespace ams::kern::arch::arm64::cpu {
ALWAYS_INLINE void InvalidateTlbByAsid(u32 asid) {
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();
}