freebsd-nq/sys/pc98/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
..
30line.h
atapi.c More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9). 2003-03-02 16:54:40 +00:00
atapi.h
busio.s Fixed SBUS_RA_*_region_* functions. 2002-10-10 13:38:50 +00:00
busiosubr.c Add bus_space_unmap() and bus_space_free() functions to release 2002-02-18 13:44:46 +00:00
canbepm.c Oops, fix copyright again. 2003-02-04 16:17:13 +00:00
canbus_if.m Oops, fix copyright again. 2003-02-04 16:17:13 +00:00
canbus.c Oops, fix copyright again. 2003-02-04 16:17:13 +00:00
canbus.h Oops, fix copyright again. 2003-02-04 16:17:13 +00:00
canbusvars.h Oops, fix copyright again. 2003-02-04 16:17:13 +00:00
clock.c PC98 systems don't need to worry about the MCA bus. 2003-03-24 19:10:33 +00:00
epsonio.h
fd.c Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
fdreg.h Merged from sys/isa/{fd.c,fdreg.h} revisions 1.222 and 1.15, respectively. 2001-12-16 09:00:03 +00:00
isa_dma.c Tidy up some loose ends. 2002-04-29 07:43:16 +00:00
machdep.c Add an argument to get_mcontext() which specified whether the 2003-04-25 01:50:30 +00:00
module.h
mse.c Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
olpt.c Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
pc98_machdep.c
pc98_machdep.h Remove __P. 2002-03-20 12:22:31 +00:00
pc98.h Split the sio driver for pc98 into bus front end and back end. 2001-11-26 12:29:53 +00:00
pc98gdc.c - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
pc98kbd.c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
pcaudio.c Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
pmc.c Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
ppc.c More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9). 2003-03-02 16:54:40 +00:00
ppcreg.h
sc_machdep.h
scgdcrndr.c Fixed mouse cursor on a console. 2002-02-10 10:14:39 +00:00
scterm-sck.c Cosmetic changes. 2002-02-10 10:27:37 +00:00
scvtbpc98.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
sio_cbus.c Added some buggy PC-98 PnP cards support. 2002-09-29 13:31:26 +00:00
sio.c Merged from sys/dev/sio/sio.c revisions 1.387 and 1.388. 2003-03-09 10:15:11 +00:00
syscons_pc98.c Merged from sys/isa/syscons_isa.c revision 1.21. 2003-01-15 13:12:12 +00:00
syscons.c Merged from sys/dev/syscons/syscons.c revision 1.400. 2003-04-02 10:49:48 +00:00
wd_cd.c Don't use dkmakeminor(), it has nothing to do with CDroms. 2003-04-03 08:49:49 +00:00
wd_cd.h use __packed. 2002-09-23 18:54:32 +00:00
wd.c Don't include <sys/disklabel.h> 2003-04-16 20:57:35 +00:00
wdreg.h Remove __P. 2002-03-20 12:22:31 +00:00
wormio.h