1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

Kernel: Implement __panic() for the aarch64 Kernel

Now that dump_backtrace() works, we can actually print a helpful
backtrace when the Kernel panics.
This commit is contained in:
Timon Kruiper 2022-05-03 01:39:47 +02:00 committed by Andreas Kling
parent e7cf591ec0
commit e81e1fa9c8
4 changed files with 26 additions and 10 deletions

View file

@ -6,6 +6,8 @@
#pragma once
#include <AK/Format.h>
namespace Kernel {
[[noreturn]] void __panic(char const* file, unsigned int line, char const* function);