NetBSD/sys/arch/acorn32/eb7500atx
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
..
eb7500atx_machdep.c It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
if_cs.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
rsbus_io_asm.S merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
rsbus_io.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
rsbus.c Remove duplicate #include <sys/param.h>, and instead 2007-03-26 22:46:20 +00:00
rsbus.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
rside.c Split device_t and softc for ATA devices, as well as wd(4). Other 2008-03-18 20:46:35 +00:00
rsidereg.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00