mirror of
https://github.com/utmapp/libucontext.git
synced 2026-12-01 07:53:41 -10:00
master
Since the refactor to a standalone library, all of the unconverted archs no longer work. We will delete them here and re-import them if ever needed. This project has deviated significantly from the original project so the README is updated to reflect it.
libucontext
libucontext is a library which provides the ucontext.h C API without colliding with ucontext.
It is a fork of kaniini/libucontext.
supported architectures
Adding support for new architectures is easy, but you need to know assembly language to do it.
Right now these archs are supported and should work on bare metal:
- x86_64
- aarch64
Other archs are supported in kaniini/libucontext and can be easily ported over if necessary.
building
libucontext uses a simple makefile build system. You should define ARCH= at build time, otherwise
the build system will attempt to guess using uname -m.
$ make ARCH=x86_64
$ make ARCH=x86_64 check
$ make ARCH=x86_64 DESTDIR=out install
Description
ucontext implementation featuring glibc-compatible ABI
334 KiB
0 Stars
1 Watchers
0 Forks
Languages
Assembly
53.5%
C
41%
Makefile
5.5%