| 139 | } |
| 140 | |
| 141 | static U32 syscall_link(CPU* cpu, U32 eipCount) { |
| 142 | BString path1 = cpu->memory->readString(ARG1); |
| 143 | BString path2 = cpu->memory->readString(ARG2); |
| 144 | SYS_LOG1(SYSCALL_FILE, cpu, "link: path1=%X(%s) path2=%X(%s)", ARG1, path1.c_str(), ARG2, path2.c_str()); |
| 145 | U32 result = cpu->thread->process->link(path1, path2); |
| 146 | SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result); |
| 147 | return result; |
| 148 | } |
| 149 | |
| 150 | static U32 syscall_unlink(CPU* cpu, U32 eipCount) { |
| 151 | BString path = cpu->memory->readString(ARG1); |
nothing calls this directly
no test coverage detected