* [LTP] MIPS/MIPS64 syscalls
@ 2019-08-19 13:28 He Zhe
2019-08-20 9:45 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: He Zhe @ 2019-08-19 13:28 UTC (permalink / raw)
To: ltp
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LTP] MIPS/MIPS64 syscalls
2019-08-19 13:28 [LTP] MIPS/MIPS64 syscalls He Zhe
@ 2019-08-20 9:45 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2019-08-20 9:45 UTC (permalink / raw)
To: ltp
Hi!
> There seems not any mips/mips64 syscalls defined. Where can we find
> them? or do we support them?
You need to create these files based on the numbers defined in kernel
syscall tables, look at arch/mips/kernel/syscalls/*.tbl, then you need
to add newly added architectures into the order file so that the headers
are generated correctly.
Also it looks like there are two 32bit ABIs there though not sure if we
need to support both in LTP though.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-20 9:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-19 13:28 [LTP] MIPS/MIPS64 syscalls He Zhe
2019-08-20 9:45 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox