Use correct instruction

This commit is contained in:
Alex
2023-02-18 04:11:59 +02:00
parent 476e97baf1
commit 0fb62e52d2
5 changed files with 8 additions and 9 deletions

View File

@ -170,7 +170,7 @@ namespace InterProcessCommunication
warn("Interrupts are disabled. This may cause a kernel hang.");
debug("Waiting for IPC %d (now %s)", ID, Hnd->Listening ? "listening" : "ready");
while (Hnd->Listening)
CPU::Halt();
CPU::Pause();
debug("IPC %d is ready", ID);
return IPCSuccess;
}