1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:17:45 +00:00

Kernel: Remove unused aarch64 Prekernel::panic() function

This commit is contained in:
Timon Kruiper 2022-05-03 01:48:16 +02:00 committed by Andreas Kling
parent f8e4eecbfb
commit 771d0719ea
2 changed files with 0 additions and 12 deletions

View file

@ -11,8 +11,6 @@ namespace Prekernel {
void drop_to_exception_level_1();
void init_prekernel_page_tables();
[[noreturn]] void panic(char const* msg);
[[noreturn]] void halt();
}

View file

@ -11,16 +11,6 @@
namespace Prekernel {
[[noreturn]] void panic(char const* msg)
{
auto& uart = Prekernel::UART::the();
while (*msg)
uart.send(*msg++);
Prekernel::halt();
}
[[noreturn]] void halt()
{
for (;;) {