freebsd-nq/sys
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
..
alpha Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
amd64 Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
arm Add a new sys/limits.h file which in turn depends on machine/_limits.h 2003-04-23 21:41:59 +00:00
boot Cut&Paste considered far too easy: 2003-04-16 21:09:41 +00:00
cam Remove the unused ioctl routine. 2003-04-12 08:44:54 +00:00
coda - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
compat Add an ioctl handler for the DRM. This removes the need for the DRM_LINUX 2003-04-24 23:36:35 +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
contrib Explicitly declare 'int' parameters. 2003-04-21 16:27:46 +00:00
crypto Assembly files put thru the C preprocessor need to have C style comments. 2003-04-21 16:30:12 +00:00
ddb Move the _oncpu entry from the KSE to the thread. 2003-04-10 17:35:44 +00:00
dev Update the DRM to the latest from DRI CVS. Includes some bugfixes and removal 2003-04-25 01:18:47 +00:00
fs Fail to mount a device if the bytes per sector in the BPB is less than 2003-04-24 18:19:19 +00:00
geom Introduce a g_waitfor_event() function which posts an event and waits for 2003-04-23 21:28:27 +00:00
gnu This commit was generated by cvs2svn to compensate for changes in r113778, 2003-04-21 02:27:52 +00:00
i4b - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
i386 Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
ia64 Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
isa Add a module version number. 2003-04-15 04:19:49 +00:00
isofs/cd9660 Rename vfs_stdsync function to vfs_stdnosync which matches more 2003-03-11 22:15:10 +00:00
kern Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
libkern Further GC of M_STRING, missed previously. 2003-02-26 01:00:29 +00:00
modules Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
net Tweak to previous commit: increment ifp->if_iqdrops if the m_copy() fails. 2003-04-23 23:45:57 +00:00
netatalk - Use if_broadcastaddr from struct ifnet rather than relying on 2003-03-21 17:53:16 +00:00
netatm Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
netgraph Remove extraneous reference to intrq.h, which broke the kernel build. 2003-04-21 03:17:27 +00:00
netinet Explicitly declare 'int' parameters. 2003-04-21 16:27:46 +00:00
netinet6 Explicitly declare 'int' parameters. 2003-04-21 16:27:46 +00:00
netipsec Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netipx Remove unimplemented IP-in-IPX encapsulation support (options IPTUNNEL). 2003-03-08 06:58:22 +00:00
netkey Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netnatm Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netncp - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
netsmb - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
nfs Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfsclient VOP_FSYNC() expects to be called with the vnode locked, so lock fvp in 2003-04-24 20:39:40 +00:00
nfsserver - Acquire the vm_object's lock when performing vm_object_page_clean(). 2003-04-24 04:31:25 +00:00
opencrypto Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
pc98 Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
pccard 1. Allow drivers to query CIS strings from OLDCARD. 2003-04-23 23:39:21 +00:00
pci Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
posix4 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
powerpc Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
rpc
security - Acquire the vm_object's lock when performing vm_object_page_clean(). 2003-04-24 04:31:25 +00:00
sparc64 Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
sys Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
tools MFp4: 2003-03-28 06:43:50 +00:00
ufs Lock both the proc lock and sched_lock when calling sched_nice since 2003-04-22 20:45:38 +00:00
vm - Move swap_pager_isswapped()'s prototype to a more logical place. 2003-04-24 05:29:27 +00:00
Makefile