freebsd-nq/sys/pc98/cbus
Matthew Dillon d74ac6819b Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt
disablement assumptions in kern_fork.c by adding another API call,
cpu_critical_fork_exit().  Cleanup the td_savecrit field by moving it
from MI to MD.  Temporarily move cpu_critical*() from <arch>/include/cpufunc.h
to <arch>/<arch>/critical.c (stage-2 will clean this up).

Implement interrupt deferral for i386 that allows interrupts to remain
enabled inside critical sections.  This also fixes an IPI interlock bug,
and requires uses of icu_lock to be enclosed in a true interrupt disablement.

This is the stage-1 commit.  Stage-2 will occur after stage-1 has stabilized,
and will move cpu_critical*() into its own header file(s) + other things.
This commit may break non-i386 architectures in trivial ways.  This should
be temporary.

Reviewed by:	core
Approved by:	core
2002-03-27 05:39:23 +00:00
..
30line.h Fixed warnings. 2000-10-15 04:54:17 +00:00
cbus_dma.c Remove __P. 2002-03-20 12:22:31 +00:00
cbus.h Split the sio driver for pc98 into bus front end and back end. 2001-11-26 12:29:53 +00:00
clock.c Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
fdc.c Push BIO_FORMAT into a local hack inside the floppy drivers where 2002-03-26 19:16:37 +00:00
fdcreg.h Merged from sys/isa/{fd.c,fdreg.h} revisions 1.222 and 1.15, respectively. 2001-12-16 09:00:03 +00:00
gdc.c Fix compile error of the case using `LINE30' option. 2001-10-23 08:54:50 +00:00
olpt.c KSE changes for olpt driver 2001-09-14 04:50:27 +00:00
pckbd.c Merged from the following changes. 2001-07-14 03:26:02 +00:00
pcrtc.c Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
pmc.c Remove __P. 2002-03-20 12:22:31 +00:00
ppc.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ppcreg.h Merged from the following changes. 2001-06-26 11:53:12 +00:00
sc_machdep.h Fixed conflict with sys/dev/syscons/syscons.h. 2001-07-14 08:07:26 +00:00
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
scvtb.c Fixed to draw mouse cursor. The syscons driver for PC98 uses different 2001-12-14 15:27:15 +00:00
sio_cbus.c Remove __P. 2002-03-20 12:22:31 +00:00
sio.c Merged from sys/dev/sio/sio.c revisions 1.366 and 1.369. 2002-03-25 13:41:06 +00:00
syscons_cbus.c Merged from the following changes. 2001-07-14 03:26:02 +00:00