forked from ariadne/libucontext
update README with status table
parent
0566e66d2d
commit
83a109c2a7
33
README.md
33
README.md
|
@ -6,27 +6,28 @@ it faithfully follows the kernel process ABI when doing context swaps.
|
||||||
Notably, when combined with `gcompat`, it provides a fully compatible implementation of the ucontext
|
Notably, when combined with `gcompat`, it provides a fully compatible implementation of the ucontext
|
||||||
functions that are ABI compatible with glibc.
|
functions that are ABI compatible with glibc.
|
||||||
|
|
||||||
|
Since version 0.13, for some architectures, you can deploy to bare metal using newlib via the
|
||||||
|
`FREESTANDING=yes` make option. Systems which use a syscall cannot work this way. The table
|
||||||
|
below shows which architecture ports have been adapted to build with `FREESTANDING=yes`.
|
||||||
|
|
||||||
|
|
||||||
## supported architectures
|
## supported architectures
|
||||||
|
|
||||||
Adding support for new architectures is easy, but you need to know assembly language to do it.
|
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:
|
| Architecture | Works on musl | Syscall | Supports FREESTANDING |
|
||||||
|
|--------------|---------------|---------|-----------------------|
|
||||||
* x86
|
| aarch64 | ✓ | | |
|
||||||
* x86_64
|
| arm | ✓ | | |
|
||||||
* armv6+ (`arm`)
|
| m68k | ✓ | | ✓ |
|
||||||
* aarch64
|
| mips | ✓ | | |
|
||||||
* s390x
|
| mips64 | ✓ | | |
|
||||||
* mips (O32 ABI only)
|
| ppc | ✓ | ✓ | |
|
||||||
* mips64 (N32/N64 ABI only, like Alpine, only N64 ABI has been tested)
|
| ppc64 | ✓ | ✓ | |
|
||||||
* riscv64
|
| riscv64 | ✓ | | |
|
||||||
* m68k
|
| s390x | ✓ | | |
|
||||||
|
| x86 | ✓ | | |
|
||||||
These archs require kernel assistance and use a syscall:
|
| x86_64 | ✓ | | ✓ |
|
||||||
|
|
||||||
* ppc
|
|
||||||
* ppc64 (ELFv2 ABI spec only, ELFv1 not supported)
|
|
||||||
|
|
||||||
|
|
||||||
## building
|
## building
|
||||||
|
|
Loading…
Reference in New Issue