Fix compiler warnings

This commit is contained in:
Alex
2023-04-23 07:02:24 +03:00
parent a73a49094c
commit fcbb298077
50 changed files with 232 additions and 192 deletions

View File

@ -360,9 +360,8 @@ namespace Tasking
}
}
SafeFunction NIF void Task::WakeUpThreads(void *CPUDataPointer)
SafeFunction NIF void Task::WakeUpThreads()
{
CPUData *CurrentCPU = (CPUData *)CPUDataPointer;
foreach (auto process in ProcessList)
{
if (InvalidPCB(process))
@ -532,7 +531,7 @@ namespace Tasking
this->UpdateProcessStatus();
schedbg("Passed UpdateProcessStatus");
this->WakeUpThreads(CurrentCPU);
this->WakeUpThreads();
schedbg("Passed WakeUpThreads");
if (this->GetNextAvailableThread(CurrentCPU))

View File

@ -767,7 +767,9 @@ namespace Tasking
Process->ELFSymbolTable = new SymbolResolver::Symbols((uintptr_t)Image);
}
else
{
debug("No image provided for process \"%s\"(%d)", Process->Name, Process->ID);
}
if (Parent)
Parent->Children.push_back(Process);