freebsd-dev/sys/pc98
Daniel Eischen 1328e1c4be 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
..
apm Merge PC98 support. 2003-03-25 05:19:18 +00:00
cbus Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Update the DRM to the latest from DRI CVS. Includes some bugfixes and removal 2003-04-25 01:18:47 +00:00
i386 Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
pc98 Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00