mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-16 09:41:42 +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