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:
@ -81,6 +81,7 @@ void KernelMainThread()
|
||||
|
||||
// TODO: Untested!
|
||||
Execute::SpawnData ret = Execute::Spawn(Config.InitPath, argc, (uint64_t)argv.data());
|
||||
ret.Thread->SetCritical(true);
|
||||
if (ret.Status != Execute::ExStatus::OK)
|
||||
{
|
||||
KPrint("\eE85230Failed to start %s! Code: %d", Config.InitPath, ret);
|
||||
|
Reference in New Issue
Block a user