Daniel Eischen
6c68cb596e
Make sure the first argument to the user function is 16-byte aligned.
...
Submitted by: tegge
2004-12-05 21:22:08 +00:00
David Xu
a5a5d84784
Use %esi to store next ucp pointer. Mark end of stack by
...
setting %ebp to zero, this avoids new gdb to dump a weird
backtrace.
2004-07-02 14:19:44 +00:00
Jonathan Mini
f990583656
Save and restore FPU state properly in ucontext_t's.
...
Reviewed by: deischen, julian
Approved by: -arch
2002-09-16 19:24:31 +00:00
Robert Drehmel
b78411b153
Include <stdlib.h> to have abort() and exit() declared.
2002-08-15 11:58:24 +00:00
Daniel Eischen
b66b8326e5
Add getcontext, setcontext, makecontext, and swapcontext. These
...
functions are defined in SUSv2 and the latest POSIX spec.
Thanks to Bernd Walter <ticso@cicely8.cicely.de> for helping debug my
alpha assembly.
Approved by: -arch
2002-01-10 02:40:59 +00:00