NetBSD/sys/arch/cobalt
dyoung 94d985722a It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
2008-11-11 06:46:40 +00:00
..
cobalt It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
compile
conf - fix (commented out) SBLive! driver name; it's emuxki, not sbl 2008-10-30 16:27:15 +00:00
dev Split softc/device_t, with misc related changes. 2008-05-09 10:59:55 +00:00
include Typo in a comment. 2008-10-01 02:44:14 +00:00
pci pci_intr_setattr(), allows PCI interrupts to be marked MPSAFE on x86, and 2008-05-30 19:26:35 +00:00
stand - also put a boot failure message to LCD 2008-05-29 14:25:00 +00:00
Makefile Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
TODO Remove complete items (multi function PCI interrupts, zs on Qube2700). 2008-05-13 15:06:40 +00:00