osy 455ecd495f Removed unsupported archs and updated README
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.
2020-11-08 12:46:02 -08:00
2020-01-31 20:20:39 -08:00
2018-01-30 03:53:04 +00:00

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
S
Description
ucontext implementation featuring glibc-compatible ABI
Readme
334 KiB
0 Stars 1 Watchers 0 Forks
Languages
Assembly 53.5%
C 41%
Makefile 5.5%