freebsd-dev/sys/isa
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
..
atkbd_isa.c
atkbdc_isa.c
atrtc.c Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
fd.c Push BIO_FORMAT into a local hack inside the floppy drivers where 2002-03-26 19:16:37 +00:00
fdreg.h
isa_common.c Fix style bugs: 2002-02-24 23:24:01 +00:00
isa_common.h
isa_if.m
isahint.c
isareg.h
isavar.h Remove __P. 2002-03-20 05:14:42 +00:00
orm.c
pnp.c
pnpparse.c
pnpreg.h
pnpvar.h
ppc.c Restore the original copyright 2002-03-23 15:36:13 +00:00
ppcreg.h
psm.c Remove __P. 2002-03-20 05:14:42 +00:00
rtc.h
syscons_isa.c
vga_isa.c