1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

Kernel: Replace Prekernel::halt with Processor::halt in aarch64 build

This allows us to get rid of one more Prekernel file.
This commit is contained in:
Timon Kruiper 2022-05-09 13:33:35 +02:00 committed by Linus Groh
parent acc9be9f7d
commit e80d8d697c
7 changed files with 10 additions and 30 deletions

View file

@ -32,4 +32,11 @@ void Processor::initialize(u32 cpu)
g_current_processor = this;
}
[[noreturn]] void Processor::halt()
{
for (;;)
asm volatile("wfi");
}
}