Fix type sizes

This commit is contained in:
Alex
2023-05-13 07:40:07 +03:00
parent 06e34ab57f
commit 816e5461c9
85 changed files with 655 additions and 422 deletions

View File

@ -676,21 +676,25 @@ namespace Tasking
SafeFunction bool Task::FindNewProcess(void *CPUDataPointer)
{
fixme("unimplemented");
return false;
}
SafeFunction bool Task::GetNextAvailableThread(void *CPUDataPointer)
{
fixme("unimplemented");
return false;
}
SafeFunction bool Task::GetNextAvailableProcess(void *CPUDataPointer)
{
fixme("unimplemented");
return false;
}
SafeFunction bool Task::SchedulerSearchProcessThread(void *CPUDataPointer)
{
fixme("unimplemented");
return false;
}
SafeFunction void Task::Schedule(void *Frame)

View File

@ -25,9 +25,9 @@ namespace Tasking
{
Token Security::CreateToken()
{
uint64_t ret = 0;
Token ret = 0;
Retry:
ret = Random::rand64();
ret = (Token)Random::rand64();
foreach (auto t in Tokens)
if (t.token == ret)
goto Retry;