Kernel: Panic wont print stacktrace if it has already paniced

This prevents stack trace dump to panic and loop
This commit is contained in:
Bananymous
2023-04-16 00:04:49 +03:00
parent 88f60b5e41
commit 295a27f16a
3 changed files with 21 additions and 11 deletions

6
kernel/kernel/Panic.cpp Normal file
View File

@@ -0,0 +1,6 @@
#include <kernel/Panic.h>
namespace Kernel::detail
{
bool g_paniced = false;
}