| 804 | } |
| 805 | |
| 806 | static U32 syscall_writev(CPU* cpu, U32 eipCount) { |
| 807 | SYS_LOG1(SYSCALL_WRITE, cpu, "writev: filds=%d iov=0x%X iovcn=%d", ARG1, ARG2, ARG3); |
| 808 | U32 result = cpu->thread->process->writev(cpu->thread, ARG1, ARG2, ARG3); |
| 809 | SYS_LOG(SYSCALL_WRITE, cpu, " result=%d(0x%X)\n", result, result); |
| 810 | return result; |
| 811 | } |
| 812 | |
| 813 | static U32 syscall_fdatasync(CPU* cpu, U32 eipCount) { |
| 814 | U32 result = 0; |