diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-07-28 13:39:24 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-07-28 13:39:24 +0200 |
| commit | 3e9f3942286b9c921aecd5bb19a021b962842474 (patch) | |
| tree | 2f9e61d2aba714bbc7228f2a7a4e6bc37d8d35b0 /src | |
| parent | 32e2112ab04d968b13ca6561bbcb8130d9cdc7d1 (diff) | |
| download | box64-3e9f3942286b9c921aecd5bb19a021b962842474.tar.gz box64-3e9f3942286b9c921aecd5bb19a021b962842474.zip | |
[BOX32] Added some comment on arguments for a syscall
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x86syscall_32.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/x86syscall_32.c b/src/emu/x86syscall_32.c index 6efc27be..d37d396d 100644 --- a/src/emu/x86syscall_32.c +++ b/src/emu/x86syscall_32.c @@ -714,8 +714,11 @@ uint32_t EXPORT my32_syscall(x64emu_t *emu, uint32_t s, ptr_t* b) #endif #endif case 449: + //futex_waitv(struct futex_waitv *waiters, unsigned int nr_futexes, unsigned int flags, struct timespec *timeout, clockid_t clockid) + //This syscall supports only 64bit sized timeout structs + // the struct futex_waitv is also the same for 32bits and 64bits address space (with 64bits sized address) #if defined(__NR_futex_waitv) && !defined(BAD_SIGNAL) - return syscall(__NR_futex_waitv, u32(0), u32(4), u32(8), u32(12), u32(16)); + return syscall(__NR_futex_waitv, p(0), u32(4), u32(8), p(12), u32(16)); #else errno = ENOSYS; return -1; |