Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/arch/macppc/stand/ofwboot Pull up revision 1.35 (re...



details:   https://anonhg.NetBSD.org/src/rev/59402314341b
branches:  netbsd-1-6
changeset: 529114:59402314341b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Sep 30 13:38:25 2002 +0000

description:
Pull up revision 1.35 (requested by wrstuden in ticket #866):
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.

diffstat:

 sys/arch/macppc/stand/ofwboot/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 29a1319967ee -r 59402314341b sys/arch/macppc/stand/ofwboot/Makefile
--- a/sys/arch/macppc/stand/ofwboot/Makefile    Mon Sep 30 13:28:57 2002 +0000
+++ b/sys/arch/macppc/stand/ofwboot/Makefile    Mon Sep 30 13:38:25 2002 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile,v 1.33 2002/04/13 13:35:23 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.33.4.1 2002/09/30 13:38:25 lukem Exp $
 
 S=     ${.CURDIR}/../../../..
 
 PROG=          ofwboot
 FILES=         ${PROG}.elf ${PROG}.xcf
-SRCS=          Locore.c ofdev.c hfs.c net.c netif_of.c vers.c
+SRCS=          Locore.c ofdev.c hfs.c net.c netif_of.c alloc.c vers.c
 XCOFFXTRA=     Xcoffxtra.c
 XCOFFXTRAOBJ=  Xcoffxtra.o
 CFLAGS+=       -Wno-main -msoft-float -mmultiple



Home | Main Index | Thread Index | Old Index