freebsd-dev/sys/sparc64
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
..
central Use M_WAITOK. 2003-02-19 17:25:58 +00:00
compile Obrien created this directory, but I didn't cvs add cvsignore 2001-07-01 23:37:03 +00:00
conf Add FireWire drivers to GENERIC. 2003-04-21 16:44:05 +00:00
ebus Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
fhc Fix definite panic when releasing interrupt resources. 2003-02-19 19:40:40 +00:00
include Add a new sys/limits.h file which in turn depends on machine/_limits.h 2003-04-23 21:41:59 +00:00
isa Add two new workaround for firmware anomalies: 2002-11-07 16:07:46 +00:00
pci Change the operation parameter of bus_dmamap_sync() from an 2003-04-10 23:03:33 +00:00
sbus fix typo in the previous commit. 2003-04-12 06:43:28 +00:00
sparc64 Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00