NetBSD/sys/arch/evbarm
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
..
adi_brh It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
armadillo It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
beagle It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
compile
conf - slave CPU using LPC UART or console 2008-11-10 04:39:43 +00:00
cp3100 Add support for the Certance CP-3100. 2006-11-08 23:49:02 +00:00
dev use device_lookup_private to get softc 2008-06-11 23:24:43 +00:00
evbarm Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
g42xxeb It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
gemini It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
gumstix It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
hdl_g It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
ifpga Merge kernel changes in matt-armv6 to HEAD. 2008-04-27 18:58:43 +00:00
imx31 It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
include Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
integrator It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
iq31244 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
iq80310 It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
iq80321 It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
ixdp425 It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
ixm1200 It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
lubbock It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
mpcsa It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
npwr_fc It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
nslu2 It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
osk5912 It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
smdk2xx0 It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
stand constrain MEMSIZE to avoid stepping out of smallest-case 2008-11-11 06:32:15 +00:00
tisdp24xx It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
tsarm It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
viper It is not appropriate to call pmf_system_shutdown(9) from 2008-11-11 06:46:40 +00:00
Makefile Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00