| 760 | } |
| 761 | |
| 762 | static U32 syscall_getdents(CPU* cpu, U32 eipCount) { |
| 763 | SYS_LOG1(SYSCALL_FILE, cpu, "getdents: fd=%d dir=%X count=%d", ARG1, ARG2, ARG3); |
| 764 | U32 result = cpu->thread->process->getdents(ARG1, ARG2, ARG3, false); |
| 765 | SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result); |
| 766 | return result; |
| 767 | } |
| 768 | |
| 769 | static U32 syscall_newselect(CPU* cpu, U32 eipCount) { |
| 770 | SYS_LOG1(SYSCALL_PROCESS, cpu, "newselect: nfd=%d readfds=%X writefds=%X errorfds=%X timeout=%d", ARG1, ARG2, ARG3, ARG4, ARG5); |