| 732 | } |
| 733 | |
| 734 | static U32 syscall_mprotect(CPU* cpu, U32 eipCount) { |
| 735 | SYS_LOG1(SYSCALL_MEMORY, cpu, "mprotect: address=%X len=%d prot=%X", ARG1, ARG2, ARG3); |
| 736 | U32 result = cpu->memory->mprotect(cpu->thread, ARG1, ARG2, ARG3); |
| 737 | SYS_LOG(SYSCALL_MEMORY, cpu, " result=%d(0x%X)\n", result, result); |
| 738 | return result; |
| 739 | } |
| 740 | |
| 741 | static U32 syscall_fchdir(CPU* cpu, U32 eipCount) { |
| 742 | SYS_LOG1(SYSCALL_PROCESS, cpu, "fchdir: fd=%d", ARG1); |