| 1374 | } |
| 1375 | |
| 1376 | static U32 syscall_epoll_ctl(CPU* cpu, U32 eipCount) { |
| 1377 | SYS_LOG1(SYSCALL_PROCESS, cpu, "epoll_ctl: epfd=%d op=%d fd=%d events=%X", ARG1, ARG2, ARG3, ARG4); |
| 1378 | U32 result = cpu->thread->process->epollctl(ARG1, ARG2, ARG3, ARG4); |
| 1379 | SYS_LOG(SYSCALL_PROCESS, cpu, " result=%d(0x%X)\n", result, result); |
| 1380 | return result; |
| 1381 | } |
| 1382 | |
| 1383 | static U32 syscall_epoll_wait(CPU* cpu, U32 eipCount) { |
| 1384 | SYS_LOG1(SYSCALL_PROCESS|SYSCALL_THREAD, cpu, "epoll_wait: epfd=%d events=%X maxevents=%d timeout=%d", ARG1, ARG2, ARG3, ARG4); |