Subject: CVS commit: src/sys/arch/macppc/stand/ofwboot
To: None <source-changes@NetBSD.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 03/17/2004 23:32:22
Module Name:	src
Committed By:	wrstuden
Date:		Wed Mar 17 23:32:22 UTC 2004

Modified Files:
	src/sys/arch/macppc/stand/ofwboot: Locore.c version

Log Message:
Have Locore zero out the bss (which includes our stack) BEFORE
we start calling into C code. Previously we called memset() in our
C code. Unfortunately the compiler would sometimes store local variables
on the statck, which got killed by the memset(). Oops!


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/macppc/stand/ofwboot/Locore.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/macppc/stand/ofwboot/version

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