diff options
Diffstat (limited to 'Kernel/Arch/aarch64/Processor.cpp')
-rw-r--r-- | Kernel/Arch/aarch64/Processor.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Kernel/Arch/aarch64/Processor.cpp b/Kernel/Arch/aarch64/Processor.cpp index 495de96aaa..e4252782a8 100644 --- a/Kernel/Arch/aarch64/Processor.cpp +++ b/Kernel/Arch/aarch64/Processor.cpp @@ -8,6 +8,7 @@ #include <Kernel/Arch/Processor.h> #include <Kernel/Arch/aarch64/ASM_wrapper.h> +#include <Kernel/Arch/aarch64/CPU.h> extern "C" uintptr_t vector_table_el1; @@ -19,14 +20,14 @@ void Processor::initialize(u32 cpu) { VERIFY(g_current_processor == nullptr); - auto current_exception_level = static_cast<u64>(Kernel::Aarch64::Asm::get_current_exception_level()); + auto current_exception_level = static_cast<u64>(Aarch64::Asm::get_current_exception_level()); dbgln("CPU{} started in: EL{}", cpu, current_exception_level); dbgln("Drop CPU{} to EL1", cpu); - Prekernel::drop_to_exception_level_1(); + drop_to_exception_level_1(); // Load EL1 vector table - Kernel::Aarch64::Asm::el1_vector_table_install(&vector_table_el1); + Aarch64::Asm::el1_vector_table_install(&vector_table_el1); g_current_processor = this; } |