Subject: Re: CVS commit: syssrc/sys/arch/macppc/stand/ofwboot
To: None <source-changes@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 09/26/2002 16:39:03
On Fri, 20 Sep 2002, Bill Studenmund wrote:

> Module Name:	syssrc
> Committed By:	wrstuden
> Date:		Fri Sep 20 03:20:25 UTC 2002
>
> Modified Files:
> 	syssrc/sys/arch/macppc/stand/ofwboot: Makefile
> Added Files:
> 	syssrc/sys/arch/macppc/stand/ofwboot: alloc.c
>
> Log Message:

After looking into things more, I've changed the log message to the
following, as it is more accurate:

Re-add own alloc(). Recent issues with kernels randomly dying on boot
are related to using libsa's alloc(). Problems go away with this alloc().

The problem is that the libsa alloc() assumes we can grab memory off
the end of the program. That assumption doesn't work for us. It's
much better to use the alloc() we were using as it calls OF_claim()
to get memory.

> To generate a diff of this commit:
> cvs rdiff -r1.34 -r1.35 syssrc/sys/arch/macppc/stand/ofwboot/Makefile
> cvs rdiff -r0 -r1.3 syssrc/sys/arch/macppc/stand/ofwboot/alloc.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>