[LTP] MIPS/MIPS64 syscalls

He Zhe zhe.he@windriver.com
Mon Aug 19 15:28:38 CEST 2019


Hi All,

There seems not any mips/mips64 syscalls defined. Where can we find them? or do we support them?

ls include/lapi/syscalls/
aarch64.in  hppa.in  ia64.in  powerpc64.in  regen.sh  s390x.in  sparc64.in  strip_syscall.awk
arm.in      i386.in  order    powerpc.in    s390.in   sh.in     sparc.in    x86_64.in

Some cases like rt_sigtimedwait01 would fail without the definition.

./testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c
#ifdef TEST_RT_SIGTIMEDWAIT                                                     
static int my_rt_sigtimedwait(const sigset_t * set, siginfo_t * info,                                                                       
                              struct timespec *timeout)                         
{                                                                               
                                                                                
        /* The last argument is (number_of_signals)/(bits_per_byte), which are 64 and 8, resp. */
        return ltp_syscall(__NR_rt_sigtimedwait, set, info, timeout, 8);        
}                                                                               
#endif


Thanks,
Zhe


More information about the ltp mailing list