Subject: CVS commit: src/sys/arch/sparc/sparc
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 01/16/2003 18:20:22
Module Name:	src
Committed By:	pk
Date:		Thu Jan 16 16:20:22 UTC 2003

Modified Files:
	src/sys/arch/sparc/sparc: machdep.c

Log Message:
Some PROMs get really uneasy if the prom_reboot() function is called
after the other CPUs have already return into the PROM through prom_cpustop().
So don't do it; try to halt the other CPUs only when an actual `halt'
is requested.

My guess in this case is that the PROM does not expect its original boot
CPU to call prom_cpustop(0), or possibly treats it as the equivalent of
a prom_halt() which is then called again by some other CPU. In any case,
the result is garbage.


To generate a diff of this commit:
cvs rdiff -r1.220 -r1.221 src/sys/arch/sparc/sparc/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.