| 1298 | } |
| 1299 | |
| 1300 | static U32 syscall_sendfile64(CPU* cpu, U32 eipCount) { |
| 1301 | SYS_LOG1(SYSCALL_SYSTEM, cpu, "sendfile64: out_fd=%d int_fd=%d offset=%d count=%d", ARG1, ARG2, ARG3, ARG4); |
| 1302 | U32 result = cpu->thread->process->sendFile(ARG1, ARG2, ARG3, ARG4); |
| 1303 | SYS_LOG(SYSCALL_SYSTEM, cpu, " result=%d(0x%X)\n", result, result); |
| 1304 | return result; |
| 1305 | } |
| 1306 | |
| 1307 | #define FUTEX_WAIT 0 |
| 1308 | #define FUTEX_WAKE 1 |