[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UNIKRAFT PATCH v2 0/3] lib/syscall_shim: Enhancements



This patch series contains a couple of enhancments to lib/syscall_shim
API that are useful for porting applications to Unikraft.

Changes v2:
 - Avoid unused parameter warning of `arg` in `uk_vsyscall()` and
   `uk_vsyscall_r()`. The warning appears when no system calls are
   registered to the system call shim layer.

Simon Kuenzer (3):
  lib/syscall_shim: Provide `uk_syscall_r_fn()`
  lib/syscall_shim: handler: Take only required number of arguments
  lib/syscall_shim: Provide `uk_syscall6()`, `uk_syscall6_r()`

 lib/syscall_shim/Makefile.uk                  | 20 ++++++++
 lib/syscall_shim/{ => arch}/regmap_linuxabi.h |  0
 lib/syscall_shim/gen_uk_syscall.awk           | 16 ++-----
 lib/syscall_shim/gen_uk_syscall6.awk          | 39 ++++++++++++++++
 lib/syscall_shim/gen_uk_syscall6_r.awk        | 39 ++++++++++++++++
 lib/syscall_shim/gen_uk_syscall_r.awk         | 16 ++-----
 lib/syscall_shim/gen_uk_syscall_r_fn.awk      | 24 ++++++++++
 lib/syscall_shim/include/uk/syscall.h         | 24 ++++++++--
 lib/syscall_shim/uk_syscall.c.in_end          | 28 +++--------
 lib/syscall_shim/uk_syscall6_r.c.in_end       | 18 ++++++++
 lib/syscall_shim/uk_syscall_r.c.in_end        | 46 +++----------------
 11 files changed, 182 insertions(+), 88 deletions(-)
 rename lib/syscall_shim/{ => arch}/regmap_linuxabi.h (100%)
 create mode 100644 lib/syscall_shim/gen_uk_syscall6.awk
 create mode 100644 lib/syscall_shim/gen_uk_syscall6_r.awk
 create mode 100644 lib/syscall_shim/gen_uk_syscall_r_fn.awk
 create mode 100644 lib/syscall_shim/uk_syscall6_r.c.in_end

-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.