On 11.05.20 08:22, 孙世龙 via Xenomai wrote:
Hi,
     What are the relations bettween* COBALT_SYSCALL(ioctl, handover,
args...) *and* COBALT_IMPL(int, ioctl,  args...)*?
     The related source code could be seen in the urls listed below.
      https://gitlab.denx.de/Xenomai/xenomai/-/blob/v3.0.9/lib/cobalt/rtdm.c
(COBALT_SYSCALL(
ioctl ))
https://gitlab.denx.de/Xenomai/xenomai/-/blob/v3.0.9/kernel/cobalt/posix/io.c (
COBALT_IMPL(int, ioctl,  args...) )

      Similar question is bettween *COBALT_SYSCALL_DECL(sched_yield, (void) *
and * COBALT_IMPL(int, sched_yield, (void)).*


The former site issues the ioctl to the Xenomai core, the latter is the entry point (after generic syscall handling) inside the kernel.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

Reply via email to