| 991 | } |
| 992 | |
| 993 | static U32 syscall_stat64(CPU* cpu, U32 eipCount) { |
| 994 | BString path = cpu->memory->readString(ARG1); |
| 995 | SYS_LOG1(SYSCALL_FILE, cpu, "stat64: path=%s buf=%X", path.c_str(), ARG2); |
| 996 | U32 result = cpu->thread->process->stat64(path, ARG2); |
| 997 | SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result); |
| 998 | return result; |
| 999 | } |
| 1000 | |
| 1001 | static U32 syscall_lstat64(CPU* cpu, U32 eipCount) { |
| 1002 | BString path = cpu->memory->readString(ARG1); |
nothing calls this directly
no test coverage detected