Marek Roszko
726b137fed
Fix libcontext arm64 build and purge winfiber
The winfiber implementation ran into memory leak issues as it didnt exit the stack jumps correctly
and lets not mislead anyone by keeping it
3 years ago
alexfanqi
01f0aad7c0
Add riscv64 support for libcontext
modified to match function arguments different from upstream
Author: Andreas Schwab
4 years ago
Peng Peng
b7ab5330bf
Adding the LoongArch CPU support for libcontext
4 years ago
Marek Roszko
320b519278
Add assembly based libcontext implementation for MSVC builds
5 years ago
Jiajie Chen
ce8039c327
libcontext: Initial support for Apple Silicon
The assembly for apple_arm64 is adapted from linux_arm64 target with small modifications:
1. Re-enable FPU conditional save/restore as apple_x86_64 does
2. Workaround limitation in relocation in assembly for clang
5 years ago
Tomasz Wlostowski
151b4e4e5e
libcontext: clean up own's shit when coroutine call is over (MSVC only)
5 years ago
Ian McInerney
5c0656d97f
Move potrace and libcontext into thirdparty directory
Part of the cleanup in #3637
6 years ago
Seth Hillbrand
4d2e953f42
Cleanup: Replace C-only deprecated headers
This replaces headers deprecated by C++14 with their equivalent
replacement
6 years ago
Steven A. Falco
e997f4a7f4
Revert part of commit 6cab769f41
Commit 6cab769f41 breaks compilation on ppc64le, because the gcc
compiler defines both _ARCH_PPC and _ARCH_PPC64.
6 years ago
Tomasz Wlostowski
6cab769f41
MSVC support for libcontext
This uses the Windows native Fiber API.
7 years ago
Jean-Samuel Reynaud
c77031842e
Fix another compilation issue on PPC64
7 years ago
Jean-Samuel Reynaud
8c69c81393
Adding support for PPC32 and PPC64.
Modification proposed by Gianluca Renzi.
7 years ago
Jiaxun Yang
320f4b6cd9
Add MIPS N64 support for libcontext
7 years ago
Marvin Schmidt
69974b73db
Remove some extra semicolons
8 years ago
Michael
2206d51b82
libcontext FreeBSD compatibility fix
Fixes: lp:1671083
* https://bugs.launchpad.net/kicad/+bug/1671083
8 years ago
Maciej Suminski
4b5482eb5a
Preserve FPU registers on context switch
Fixes: lp:1660546
* https://bugs.launchpad.net/kicad/+bug/1660546
9 years ago
Michael
679074fdb2
Made libcontext compile on FreeBSD. Code formatting too.
9 years ago
Tomasz Włostowski
eedf7cb243
Switched coroutine library from Boost libcotext to custom libcontext.
Fixes lp:1658249
https://bugs.launchpad.net/kicad/+bug/1658249
9 years ago