A. Wilcox
|
6046eb47e4
|
Reorder registers in other x86_64 assembler files
This fixes the previous commit which changed the register order in
swapcontext only, which caused setcontext to subtly corrupt the stack.
|
2018-07-19 17:18:19 -05:00 |
Timo Teräs
|
790ed28aff
|
fix x86_64 register order for swapcontext
rbp and rsi were reversed causing argument passing to fail since
rsi is used to pass 2nd argument.
fixes #9
|
2018-07-18 15:47:27 +03:00 |
William Pitcock
|
0622245f06
|
x86_64: trampoline: do same cleanups as in x86
|
2018-02-15 04:34:37 +00:00 |
William Pitcock
|
556da6ce99
|
x86/x86_64: getcontext: no need to restore %ecx or %rcx
|
2018-02-14 05:12:09 +00:00 |
William Pitcock
|
da10e5a66d
|
implement ucontext functions on x86_64
|
2018-01-30 03:41:02 +00:00 |
William Pitcock
|
6062fc83b1
|
don't bother with glibc stuff afterall, kernel defines ABI to use
|
2018-01-29 21:50:49 +00:00 |