[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH 0/4] Introduce libucontext library
This series introduces the Unikraft libucontext implementation. libucontext provides the <ucontext.h> ABI when performing context swaps. The <ucontext.h> functions are deprecated in POSIX. However they are notably used by GCC's implementation of the Go programming language. Therefore, to support Go, software that utilises this deprecated API is needed. Charalampos Mainas (4): lib/ukcontext: Introduce libucontext library skeleton lib/ukcontext: Import ucontext.h from musl lib/ukcontext: Adapt ucontext.h lib/ukcontext: add {get,set,swap,make,start}context implementation lib/Config.uk | 1 + lib/Makefile.uk | 1 + lib/ukucontext/Config.uk | 4 ++ lib/ukucontext/Makefile.uk | 51 +++++++++++++++++++ lib/ukucontext/exportsyms.uk | 4 ++ lib/ukucontext/getcontext.S | 49 ++++++++++++++++++ lib/ukucontext/include/ucontext.h | 83 +++++++++++++++++++++++++++++++ lib/ukucontext/makecontext.c | 78 +++++++++++++++++++++++++++++ lib/ukucontext/setcontext.S | 45 +++++++++++++++++ lib/ukucontext/startcontext.S | 33 ++++++++++++ lib/ukucontext/swapcontext.S | 75 ++++++++++++++++++++++++++++ 11 files changed, 424 insertions(+) create mode 100644 lib/ukucontext/Config.uk create mode 100644 lib/ukucontext/Makefile.uk create mode 100644 lib/ukucontext/exportsyms.uk create mode 100644 lib/ukucontext/getcontext.S create mode 100644 lib/ukucontext/include/ucontext.h create mode 100644 lib/ukucontext/makecontext.c create mode 100644 lib/ukucontext/setcontext.S create mode 100644 lib/ukucontext/startcontext.S create mode 100644 lib/ukucontext/swapcontext.S -- 2.17.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |