]>
xenbits.xensource.com Git - unikraft/libs/pthread-embedded.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Costin Lupu [Wed, 5 Jun 2019 08:01:19 +0000 (11:01 +0300)]
patches: Add patch for making pte_handle a C++ structure
The CXX library requires pthe_handle to be defined as a C++ structure. This
patch also adds the overloaded operators needed by the CXX library.
Signed-off-by: Teodora Serbanescu <teo.serbanescu16@gmail.com>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
Teodora Serbanescu [Mon, 3 Jun 2019 15:16:40 +0000 (18:16 +0300)]
include/pthread.h: Guard C code for C++
Signed-off-by: Teodora Serbanescu <teo.serbanescu16@gmail.com>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
Costin Lupu [Mon, 3 Jun 2019 15:16:39 +0000 (18:16 +0300)]
Add missing pthread functions
This patch adds some missing functions for updating threads attributes,
such as the thread name or the stack address and size. Currently we
support only the fixed stack size of 64KB.
These new functions are used by the Ruby interpreter.
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
Costin Lupu [Mon, 3 Jun 2019 15:16:38 +0000 (18:16 +0300)]
Disable atomic functions
We disable the atomic function given that we are using them as macros.
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
Costin Lupu [Mon, 3 Jun 2019 15:16:37 +0000 (18:16 +0300)]
patches: Fix atomic operations
We use atomic operations as macros because pte uses them for both int
and long types.
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
Costin Lupu [Mon, 3 Jun 2019 15:16:36 +0000 (18:16 +0300)]
Initial port of pthread-embedded to Unikraft
This is our initial port of pthread-embedded to Unikraft as external
library. For now you need newlib to make it work. When adding the
library in the dependency list, pthread-embedded should stay before
newlib (e.g. ...:$(UK_LIBS)/pthread-embedded:$(UK_LIBS)/newlib.git:...).
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
Costin Lupu [Sun, 10 Mar 2019 08:12:24 +0000 (10:12 +0200)]
patches: Add patches for proper building of original library
Current patches include bugfixes and refinements in the original code.
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
Costin Lupu [Mon, 3 Jun 2019 15:16:34 +0000 (18:16 +0300)]
Add .gitignore
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
Costin Lupu [Mon, 3 Jun 2019 15:16:33 +0000 (18:16 +0300)]
Add documentation
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Florian Schmidt <florian.schmidt@neclab.eu>
Costin Lupu [Sat, 9 Mar 2019 18:10:02 +0000 (20:10 +0200)]
Initial commit (empty)