mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
Kernel: Rename Aarch64Asm -> ASM_wrapper and add Aarch64::Asm namespace
This commit is contained in:
parent
34709c8d39
commit
4a4a3193f8
8 changed files with 28 additions and 34 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <Kernel/Prekernel/Arch/aarch64/Prekernel.h>
|
||||
|
||||
#include <Kernel/Arch/aarch64/Aarch64Asm.h>
|
||||
#include <Kernel/Arch/aarch64/ASM_wrapper.h>
|
||||
#include <Kernel/Prekernel/Arch/aarch64/UART.h>
|
||||
|
||||
namespace Prekernel {
|
||||
|
@ -19,7 +19,14 @@ namespace Prekernel {
|
|||
uart.print_str(msg);
|
||||
}
|
||||
|
||||
Kernel::halt();
|
||||
Prekernel::halt();
|
||||
}
|
||||
|
||||
[[noreturn]] void halt()
|
||||
{
|
||||
for (;;) {
|
||||
asm volatile("wfi");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue