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
commit e81e1fa9c8
Notes: sideshowbarker 2024-07-17 11:21:24 +09:00
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);