| 253 | } |
| 254 | |
| 255 | static U32 syscall_access(CPU* cpu, U32 eipCount) { |
| 256 | BString fileName = cpu->memory->readString(ARG1); |
| 257 | |
| 258 | SYS_LOG1(SYSCALL_FILE, cpu, "access: filename=%s flags=0x%X", fileName.c_str(), ARG2); |
| 259 | U32 result = cpu->thread->process->access(fileName, ARG2); |
| 260 | SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result); |
| 261 | return result; |
| 262 | } |
| 263 | |
| 264 | static U32 syscall_sync(CPU* cpu, U32 eipCount) { |
| 265 | SYS_LOG1_NO_FMT(SYSCALL_FILE, cpu, "sync:"); |
nothing calls this directly
no test coverage detected