1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:57:35 +00:00

Kernel: Move Prekernel assembly utils to aarch64/ASM_wrapper.h

By moving these functions to the ASM_wrapper.h file, we can get rid of
another Prekernel file.
This commit is contained in:
Timon Kruiper 2022-05-09 23:09:44 +02:00 committed by Linus Groh
parent e80d8d697c
commit e7c5fd978b
8 changed files with 44 additions and 77 deletions

View file

@ -8,7 +8,6 @@
#include <Kernel/Arch/Processor.h>
#include <Kernel/Arch/aarch64/ASM_wrapper.h>
#include <Kernel/Arch/aarch64/Prekernel/Aarch64_asm_utils.h>
#include <Kernel/Arch/aarch64/Prekernel/Prekernel.h>
extern "C" uintptr_t vector_table_el1;
@ -28,7 +27,7 @@ void Processor::initialize(u32 cpu)
Prekernel::drop_to_exception_level_1();
// Load EL1 vector table
el1_vector_table_install(&vector_table_el1);
Kernel::Aarch64::Asm::el1_vector_table_install(&vector_table_el1);
g_current_processor = this;
}