kern: implement 13.1.0 kernel changes

This commit is contained in:
Michael Scire 2021-10-25 17:34:47 -07:00
parent ebca23305e
commit 1d5f66be56
4 changed files with 10 additions and 2 deletions

View file

@ -52,6 +52,10 @@ namespace ams::kern::arch::arm64::cpu {
__asm__ __volatile__("dmb sy" ::: "memory");
}
ALWAYS_INLINE void DataMemoryBarrierInnerShareable() {
__asm__ __volatile__("dmb ish" ::: "memory");
}
ALWAYS_INLINE void InstructionMemoryBarrier() {
__asm__ __volatile__("isb" ::: "memory");
}