mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
Stub out poll() syscall and LibC wrapper.
This commit is contained in:
parent
8bb18fdc56
commit
2bedabbd6c
10 changed files with 63 additions and 10 deletions
|
@ -100,6 +100,8 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2,
|
|||
return (dword)current->sys$mmap((const SC_mmap_params*)arg1);
|
||||
case Syscall::SC_select:
|
||||
return current->sys$select((const SC_select_params*)arg1);
|
||||
case Syscall::SC_poll:
|
||||
return current->sys$poll((pollfd*)arg1, (int)arg2, (int)arg3);
|
||||
case Syscall::SC_munmap:
|
||||
return current->sys$munmap((void*)arg1, (size_t)arg2);
|
||||
case Syscall::SC_gethostname:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue