1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-21 06:50:59 +00:00

Kernel: Replace calls to Prekernel::panic() with PANIC macro on aarch64

This commit is contained in:
Timon Kruiper 2022-05-03 01:46:26 +02:00 committed by Andreas Kling
parent e81e1fa9c8
commit f8e4eecbfb
2 changed files with 6 additions and 4 deletions

View file

@ -8,6 +8,7 @@
#include <Kernel/Arch/aarch64/Prekernel/Aarch64_asm_utils.h>
#include <Kernel/Arch/aarch64/Prekernel/Prekernel.h>
#include <Kernel/Arch/aarch64/Registers.h>
#include <Kernel/Panic.h>
extern "C" void enter_el2_from_el3();
extern "C" void enter_el1_from_el2();
@ -93,7 +94,7 @@ void drop_to_exception_level_1()
set_up_el1();
break;
default: {
Prekernel::panic("FATAL: CPU booted in unsupported exception mode!\r\n");
PANIC("CPU booted in unsupported exception mode!");
}
}
}