forked from Bananymous/banan-os
Kernel: Panic wont print stacktrace if it has already paniced
This prevents stack trace dump to panic and loop
This commit is contained in:
6
kernel/kernel/Panic.cpp
Normal file
6
kernel/kernel/Panic.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <kernel/Panic.h>
|
||||
|
||||
namespace Kernel::detail
|
||||
{
|
||||
bool g_paniced = false;
|
||||
}
|
||||
Reference in New Issue
Block a user