]>
xenbits.xensource.com Git - unikraft/libs/musl.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Gaulthier Gain [Wed, 29 Jan 2020 21:18:40 +0000 (22:18 +0100)]
Avoid multiple definitions by excluding functions related to linux
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:39 +0000 (22:18 +0100)]
Avoid multiple definitions by excluding functions related to legacy
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:38 +0000 (22:18 +0100)]
Avoid multiple definitions by excluding functions related to fcntl
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:37 +0000 (22:18 +0100)]
Avoid multiple definitions by excluding functions related to dirent
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:36 +0000 (22:18 +0100)]
Update __syscall_cp.c to use syscalls from the syscall_shim layer
This patch updates __syscall_cp.c to use uk_syscall declaration from
the syscall_shim layer.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:35 +0000 (22:18 +0100)]
Use uk/bits/syscall_nrs.h instead of musl internal bits/syscall.h
This patch updates Makefile.uk and include/sys/syscall.h in order to
avoid generating a clone of syscall_nrs.h which is defined within
Unikraft.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:34 +0000 (22:18 +0100)]
Use syscall_shim layer instead of musl internal syscalls
This commit updates include/syscall.h by including uk_syscall
from the syscall_shim layer. In addition, it redirects syscall,
__syscall, syscall_cp and __syscall_ret to the syscall_shim layer.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:33 +0000 (22:18 +0100)]
Add patch to update time.h to avoid conflicts with uktime
This patch updates time.h in order to avoid redefinition errors with
musl-imported time.h.
Note that we included '<bits/alltypes>' otherwise 'locale_t' type is
unknown. A next task will be to find a cleaner approach.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:32 +0000 (22:18 +0100)]
Add patch to rename __unused field to pad
This patch renames __unused in arch/x86_64/bits/stat.h to pad
since __unused is a keyword in Unikraft.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:31 +0000 (22:18 +0100)]
Add patch to remove syscall prototype in unistd.h
This patch removes the long syscall(long, ...) prototype which
conflicts with Unikraft's syscall_shim layer macros.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:30 +0000 (22:18 +0100)]
Add stub for mprotect in mem.c
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:29 +0000 (22:18 +0100)]
Add glue code rules for mem.c in Makefile.uk
This commit updates Makefile.uk to support glue code related to
mem.c between musl and Unikraft.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:28 +0000 (22:18 +0100)]
Remove files related to syscalls management
In this patch, we remove patches, source and header files that are
obsolete with the syscall shim layer. These old files were added at
the time where the syscall shim layer was not implemented.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:27 +0000 (22:18 +0100)]
Update compilation flags with musl namespace
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:26 +0000 (22:18 +0100)]
Review formatting for files generations in Makefile.uk
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:25 +0000 (22:18 +0100)]
Call configure after patching
Update Makefile.uk to run the configure script after patching.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Gaulthier Gain [Wed, 29 Jan 2020 21:18:24 +0000 (22:18 +0100)]
Add support for C++ applications
Update Makefile.uk to provide support to C++ applications.
Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Felipe Huici [Mon, 3 Sep 2018 14:11:59 +0000 (16:11 +0200)]
Initial port
Initial port, enough code to compile and run a hello world application.
Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Simon Kuenzer [Thu, 30 Jan 2020 09:12:31 +0000 (10:12 +0100)]
Initial commit (empty)
Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>