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:
parent
acc9be9f7d
commit
e80d8d697c
7 changed files with 10 additions and 30 deletions
|
@ -32,4 +32,11 @@ void Processor::initialize(u32 cpu)
|
|||
|
||||
g_current_processor = this;
|
||||
}
|
||||
|
||||
[[noreturn]] void Processor::halt()
|
||||
{
|
||||
for (;;)
|
||||
asm volatile("wfi");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue