MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_poll

Function syscall_poll

source/kernel/syscall.cpp:891–896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889}
890
891static U32 syscall_poll(CPU* cpu, U32 eipCount) {
892 SYS_LOG1(SYSCALL_PROCESS, cpu, "poll: pfds=%X nfds=%d timeout=%X", ARG1, ARG2, ARG3);
893 U32 result = kpoll(cpu->thread, ARG1, ARG2, ARG3);
894 SYS_LOG(SYSCALL_PROCESS, cpu, " result=%d(0x%X)\n", result, result);
895 return result;
896}
897
898static U32 syscall_prctl(CPU* cpu, U32 eipCount) {
899 SYS_LOG1(SYSCALL_PROCESS, cpu, "prctl: options=%d", ARG1);

Callers

nothing calls this directly

Calls 1

kpollFunction · 0.85

Tested by

no test coverage detected