mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Kernel: Move common aarch64 asm functions into kernel folder and NS
This commit is contained in:
parent
68b5d00f42
commit
c2d7e200eb
Notes:
sideshowbarker
2024-07-18 00:33:07 +09:00
Author: https://github.com/jamesmintram
Commit: c2d7e200eb
Pull-request: https://github.com/SerenityOS/serenity/pull/10514
Reviewed-by: https://github.com/mundak ✅
Reviewed-by: https://github.com/nico
6 changed files with 45 additions and 18 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <AK/Types.h>
|
||||
|
||||
#include <Kernel/Arch/aarch64/Aarch64Asm.h>
|
||||
#include <Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.h>
|
||||
#include <Kernel/Prekernel/Arch/aarch64/BootPPMParser.h>
|
||||
#include <Kernel/Prekernel/Arch/aarch64/Framebuffer.h>
|
||||
|
@ -36,7 +37,7 @@ extern "C" [[noreturn]] void init()
|
|||
uart.print_str("\r\n");
|
||||
|
||||
uart.print_str("CPU started in: EL");
|
||||
uart.print_num(static_cast<u64>(get_current_exception_level()));
|
||||
uart.print_num(static_cast<u64>(Kernel::get_current_exception_level()));
|
||||
uart.print_str("\r\n");
|
||||
|
||||
uart.print_str("Drop CPU to EL1\r\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue