|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 5/9] lib/syscall_shim: generate provided_syscalls.h
Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> I will fix the command name while upstreaming. On 05.06.19 17:55, Yuri Volchkov wrote: The provided_syscalls.h will be containing prototypes for every syscall present in the system. It will be the responsibility of the libraries to tell syscall_shim if certain syscall is provided. If syscall is available, it must be listed in the makefile's variable 'UK_PROVIDED_SYSCALLS' in the format <syscall_name>-<number_of_arguments>. For example: UK_PROVIDED_SYSCALLS-$(CONFIG_LIBVFSCORE) += writev-3 Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> --- lib/syscall_shim/Makefile.uk | 16 ++++++++++++++-- lib/syscall_shim/gen_provided.awk | 5 +++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 lib/syscall_shim/gen_provided.awk diff --git a/lib/syscall_shim/Makefile.uk b/lib/syscall_shim/Makefile.uk index 520e9206..0f7754df 100644 --- a/lib/syscall_shim/Makefile.uk +++ b/lib/syscall_shim/Makefile.uk @@ -4,10 +4,12 @@ LIBSYSCALL_SHIM_INCLUDES_PATH := $(LIBSYSCALL_SHIM_BUILD)/include/uk/bitsLIBSYSCALL_SHIM_PHONY_SRC := syscall_map.h syscall_stubs.h syscall_nrs.hLIBSYSCALL_SHIM_PHONY_SRC := $(addprefix $(LIBSYSCALL_SHIM_INCLUDES_PATH)/, $(LIBSYSCALL_SHIM_PHONY_SRC)) +LIBSYSCALL_SHIM_PHONY_SRC += $(LIBSYSCALL_SHIM_BUILD)/provided_syscalls.h.in LIBSYSCALL_SHIM_PHONY_SRC_NEW := $(addsuffix .new, $(LIBSYSCALL_SHIM_PHONY_SRC))-UK_PREPARE-$(CONFIG_LIBSYSCALL_SHIM) += $(LIBSYSCALL_SHIM_PHONY_SRC)+LIBSYSCALL_SHIM_GEN_SRC := $(LIBSYSCALL_SHIM_INCLUDES_PATH)/provided_syscalls.h+UK_PREPARE-$(CONFIG_LIBSYSCALL_SHIM) += $(LIBSYSCALL_SHIM_PHONY_SRC) $(LIBSYSCALL_SHIM_GEN_SRC) LIBSYSCALL_SHIM_TEMPL := $(LIBSYSCALL_SHIM_BASE)/arch/$(CONFIG_UK_ARCH)/syscall.h.in @@ -30,9 +32,19 @@ $(LIBSYSCALL_SHIM_INCLUDES_PATH)/syscall_map.h.new: _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |