Subject: CVS commit: syssrc/sys/arch/macppc/macppc
To: None <source-changes@netbsd.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: source-changes
Date: 12/31/2001 20:35:26
Module Name: syssrc
Committed By: dbj
Date: Mon Dec 31 18:35:26 UTC 2001
Modified Files:
syssrc/sys/arch/macppc/macppc: locore.S
Log Message:
save and restore sprg[0-3] when calling openfirmware
this fixes calling OF_finddevice() with invalid devices,
and as a result fixes booting with -d.
Apparently openfirmware expects persistence of sprg2 and/or sprg3
I suspect this is used when handling exceptions
To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 syssrc/sys/arch/macppc/macppc/locore.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.