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

@ -74,8 +74,8 @@ namespace Memory
}
error("Out of memory! (Free: %ldMB; Used: %ldMB; Reserved: %ldMB)", TO_MB(FreeMemory), TO_MB(UsedMemory), TO_MB(ReservedMemory));
CPU::Halt(true);
return nullptr;
CPU::Stop();
__builtin_unreachable();
}
void *Physical::RequestPages(size_t Count)