mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Added implementation of critical thread/process
This commit is contained in:
@ -117,8 +117,13 @@ namespace CrashHandler
|
||||
else
|
||||
{
|
||||
debug("Exception in user mode");
|
||||
UserModeExceptionHandler(Frame);
|
||||
return;
|
||||
if (!GetCurrentCPU()->CurrentThread->Security.IsCritical)
|
||||
{
|
||||
UserModeExceptionHandler(Frame);
|
||||
return;
|
||||
}
|
||||
else
|
||||
EHPrint("\eFF0000Init process crashed!");
|
||||
}
|
||||
|
||||
debug("Reading control registers...");
|
||||
|
Reference in New Issue
Block a user