kern: SvcFlushDataCache, SvcFlushEntireDataCache

This commit is contained in:
Michael Scire 2020-07-30 14:51:45 -07:00 committed by SciresM
parent e4b30f4022
commit 0993ae0685
4 changed files with 37 additions and 7 deletions

View file

@ -60,7 +60,7 @@ namespace ams::kern::arch::arm64::cpu {
void Wait() {
while (!this->done) {
__asm__ __volatile__("yield");
cpu::Yield();
}
}
@ -173,7 +173,7 @@ namespace ams::kern::arch::arm64::cpu {
Kernel::GetInterruptManager().SendInterProcessorInterrupt(KInterruptName_CacheOperation, target_mask);
this->ProcessOperation();
while (this->target_cores != 0) {
__asm__ __volatile__("yield");
cpu::Yield();
}
} else {
/* Request all cores. */