NetBSD/sys/arch/vax
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
..
bi Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf 2008-03-11 05:34:01 +00:00
boot Set nexaddr on qbus vaxen to enable remapping of buffers when booting 2008-10-16 13:39:25 +00:00
compile
conf Add new accelerated driver for SPX graphics found in some VAXstations, 2008-08-12 17:54:47 +00:00
consolerl
floppy merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
if Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
include fix userret() and resurrect cpu_setfunc() to make vax build again. ok by matt. 2008-10-22 11:24:28 +00:00
mba fix detection of unknown massbus devices, ok by matt 2008-10-16 12:47:22 +00:00
stand merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
uba Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
vax It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
vsa Add new accelerated driver for SPX graphics found in some VAXstations, 2008-08-12 17:54:47 +00:00
Makefile