deischen 3d51b3a280 Add an argument to get_mcontext() which specified whether the
syscall return values should be cleared.  The system calls
getcontext() and swapcontext() want to return 0 on success
but these contexts can be switched to at a later time so
the return values need to be cleared in the saved register
sets.  Other callers of get_mcontext() would normally want
the context without clearing the return values.

Remove the i386-specific context saving from the KSE code.
get_mcontext() is not i386-specific any more.

Fix a bad pointer in the alpha get_mcontext() code.  The
context was being bcopy()'d from &td->tf_frame, but tf_frame
is itself a pointer, so the thread was being copied instead.
Spotted by jake.

Glanced at by:  jake
Reviewed by:    bde (months ago)
2003-04-25 01:50:30 +00:00
..
2003-03-25 04:32:52 +00:00
2003-04-09 02:57:29 +00:00
2002-12-22 05:35:03 +00:00
2003-01-07 20:10:04 +00:00
2003-04-16 20:57:35 +00:00
2003-02-12 07:00:59 +00:00
2002-10-02 09:09:25 +00:00
2003-02-20 03:26:11 +00:00
2003-04-09 02:57:29 +00:00
2003-03-07 22:47:32 +00:00
2003-03-23 19:41:34 +00:00