#include "Tests/LinuxSyscalls/Syscalls.h" #include "Tests/LinuxSyscalls/x32/Syscalls.h" #include #include #include #include #include #include namespace FEX::HLE::x32 { void RegisterSched() { REGISTER_SYSCALL_IMPL_X32(sched_rr_get_interval, [](FEXCore::Core::InternalThreadState *Thread, pid_t pid, struct timespec32 *tp) -> uint64_t { struct timespec tp64{}; uint64_t Result = ::sched_rr_get_interval(pid, tp ? &tp64 : nullptr); if (tp) { *tp = tp64; } SYSCALL_ERRNO(); }); } }