[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH 00/10] 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 (10): include: move UK_CONCAT to essentials import syscall.h.in from musl remove duplicate syscalls build: introduce uk_mk_dir 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_syscall_dynamic doc: add section about syscall shim layer doc/guides/developers-app.rst | 36 +++ include/uk/essentials.h | 5 + lib/Config.uk | 1 + lib/Makefile.uk | 1 + lib/syscall_shim/Config.uk | 3 + lib/syscall_shim/Makefile.uk | 65 ++++ lib/syscall_shim/arch/arm/syscall.h.in | 362 ++++++++++++++++++++++ lib/syscall_shim/arch/arm64/syscall.h.in | 278 +++++++++++++++++ lib/syscall_shim/arch/x86_64/syscall.h.in | 336 ++++++++++++++++++++ lib/syscall_shim/entry.c.in_end | 15 + lib/syscall_shim/gen_entry.awk | 40 +++ lib/syscall_shim/gen_stubs.awk | 8 + lib/syscall_shim/include/uk/syscall.h | 102 ++++++ lib/ukdebug/include/uk/trace.h | 4 - lib/vfscore/Makefile.uk | 4 +- lib/vfscore/exportsyms.uk | 1 + lib/vfscore/main.c | 7 + support/build/Makefile.rules | 8 +- 18 files changed, 1269 insertions(+), 7 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_stubs.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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |