• Philippe Gerum's avatar
    cobalt/syscall: dovetail: implement syscall hooks · 58f5001f
    Philippe Gerum authored
    Dovetail interposes on the in-band syscall entry, passing the request
    on to Cobalt via different handlers depending on the calling context:
    - via handle_oob_syscall() when the current thread is running
      out-of-band, and the request is not an in-band (i.e. regular Linux)
      system call, therefore shall be handled by Xenomai. This is the fast
    - via handle_pipelined_syscall() in all other cases, e.g. when current
      is running in-band, and/or the system call shall be handled by the
      in-band kernel eventually (useful for relaxing the current thread in
      the process if out-of-band on entry).
    Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
    Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
syscall.c 691 Bytes