mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +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
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <Kernel/Arch/aarch64/Aarch64Asm.h>
|
||||
#include <Kernel/Arch/aarch64/ASM_wrapper.h>
|
||||
#include <Kernel/Arch/aarch64/Registers.h>
|
||||
#include <Kernel/Prekernel/Arch/aarch64/Aarch64_asm_utils.h>
|
||||
#include <Kernel/Prekernel/Arch/aarch64/Prekernel.h>
|
||||
|
@ -82,14 +82,14 @@ static void set_up_el1()
|
|||
|
||||
void drop_to_exception_level_1()
|
||||
{
|
||||
switch (Kernel::get_current_exception_level()) {
|
||||
case ExceptionLevel::EL3:
|
||||
switch (Kernel::Aarch64::Asm::get_current_exception_level()) {
|
||||
case Kernel::Aarch64::Asm::ExceptionLevel::EL3:
|
||||
drop_to_el2();
|
||||
[[fallthrough]];
|
||||
case ExceptionLevel::EL2:
|
||||
case Kernel::Aarch64::Asm::ExceptionLevel::EL2:
|
||||
drop_to_el1();
|
||||
[[fallthrough]];
|
||||
case ExceptionLevel::EL1:
|
||||
case Kernel::Aarch64::Asm::ExceptionLevel::EL1:
|
||||
set_up_el1();
|
||||
break;
|
||||
default: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue