| 435 | } |
| 436 | |
| 437 | static U32 syscall_symlink(CPU* cpu, U32 eipCount) { |
| 438 | BString path1 = cpu->memory->readString(ARG1); |
| 439 | BString path2 = cpu->memory->readString(ARG2); |
| 440 | |
| 441 | SYS_LOG1(SYSCALL_FILE, cpu, "symlink: path1=%X(%s) path2=%X(%s)", ARG1, path1.c_str(), ARG2, path2.c_str()); |
| 442 | U32 result = cpu->thread->process->symlink(path1, path2); |
| 443 | SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result); |
| 444 | return result; |
| 445 | } |
| 446 | |
| 447 | static U32 syscall_readlink(CPU* cpu, U32 eipCount) { |
| 448 | BString path = cpu->memory->readString(ARG1); |
nothing calls this directly
no test coverage detected