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

[Minios-devel] [UNIKRAFT PATCH v2 0/9] introduce syscall_shim



This series adds a new library: syscall_shim. This provides a
framework to map invocations such as syscall(SYS_foo, bar, baz) to the
responsible function in the Unikraft. Or to the stub, if the syscall
is not implemented.

Yuri Volchkov (9):
  include: move UK_CONCAT to essentials
  lib/syscall_shim: import syscall.h.in from musl
  lib/syscall_shim: remove duplicate syscalls
  lib/syscall_shim: generate base headers
  lib/syscall_shim: generate provided_syscalls.h
  lib/syscall_shim: introduce syscalls macro layer
  lib/vfscore: syscall writev
  lib/syscall_shim: introduce uk_syscallp
  doc: add section about syscall shim layer

 doc/guides/developers-app.rst             |  49 +++
 include/uk/essentials.h                   |   5 +
 lib/Config.uk                             |   1 +
 lib/Makefile.uk                           |   1 +
 lib/syscall_shim/Config.uk                |   3 +
 lib/syscall_shim/Makefile.uk              |  62 ++++
 lib/syscall_shim/arch/arm/syscall.h.in    | 363 ++++++++++++++++++++++
 lib/syscall_shim/arch/arm64/syscall.h.in  | 279 +++++++++++++++++
 lib/syscall_shim/arch/x86_64/syscall.h.in | 337 ++++++++++++++++++++
 lib/syscall_shim/entry.c.in_end           |  15 +
 lib/syscall_shim/gen_entry.awk            |  40 +++
 lib/syscall_shim/gen_provided.awk         |   5 +
 lib/syscall_shim/gen_stubs.awk            |   8 +
 lib/syscall_shim/gen_syscall_map.awk      |   4 +
 lib/syscall_shim/gen_syscall_nrs.awk      |   4 +
 lib/syscall_shim/include/uk/syscall.h     | 152 +++++++++
 lib/ukdebug/include/uk/trace.h            |   4 -
 lib/vfscore/Makefile.uk                   |   4 +-
 lib/vfscore/exportsyms.uk                 |   1 +
 lib/vfscore/main.c                        |   7 +
 20 files changed, 1339 insertions(+), 5 deletions(-)
 create mode 100644 lib/syscall_shim/Config.uk
 create mode 100644 lib/syscall_shim/Makefile.uk
 create mode 100644 lib/syscall_shim/arch/arm/syscall.h.in
 create mode 100644 lib/syscall_shim/arch/arm64/syscall.h.in
 create mode 100644 lib/syscall_shim/arch/x86_64/syscall.h.in
 create mode 100644 lib/syscall_shim/entry.c.in_end
 create mode 100644 lib/syscall_shim/gen_entry.awk
 create mode 100644 lib/syscall_shim/gen_provided.awk
 create mode 100644 lib/syscall_shim/gen_stubs.awk
 create mode 100644 lib/syscall_shim/gen_syscall_map.awk
 create mode 100644 lib/syscall_shim/gen_syscall_nrs.awk
 create mode 100644 lib/syscall_shim/include/uk/syscall.h

-- 
2.19.2


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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