The syncd loop can just be a lambda.

This commit is contained in:
Andreas Kling 2018-12-24 23:10:48 +01:00
commit 033a42b580
Notes: sideshowbarker 2024-07-19 16:07:25 +09:00
5 changed files with 10 additions and 18 deletions

View file

@ -544,7 +544,7 @@ int Process::sys$get_arguments(int* argc, char*** argv)
return 0;
}
Process* Process::create_kernel_process(void (*e)(), String&& name)
Process* Process::create_kernel_process(String&& name, void (*e)())
{
auto* process = new Process(move(name), (uid_t)0, (gid_t)0, (pid_t)0, Ring0);
process->m_tss.eip = (dword)e;