freebsd-dev/sys/powerpc
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
..
aim Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +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 add scbus for FireWire. 2003-04-22 04:39:20 +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
ofw Simplify ofw_pci_fixup(). It doesn't need to be recursive, since the 2003-03-03 12:05:06 +00:00
powermac Vastly simplify the macio ATA attachment, now that the register file 2003-04-18 02:43:23 +00:00
powerpc Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
psim Remove reference to ata resource in print_child. 2003-04-18 02:47:12 +00:00