mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
The syncd loop can just be a lambda.
This commit is contained in:
parent
503e32552c
commit
033a42b580
5 changed files with 10 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue