mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
kern: SvcFlushDataCache, SvcFlushEntireDataCache
This commit is contained in:
parent
e4b30f4022
commit
0993ae0685
4 changed files with 37 additions and 7 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue