From owner-cvs-all Sun Oct 7 6:22:31 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8ACE637B407; Sun, 7 Oct 2001 06:22:25 -0700 (PDT) Received: (from benno@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f97DMPa45878; Sun, 7 Oct 2001 06:22:25 -0700 (PDT) (envelope-from benno) Message-Id: <200110071322.f97DMPa45878@freefall.freebsd.org> From: Benno Rice Date: Sun, 7 Oct 2001 06:22:25 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/ofw/common main.c src/sys/boot/ofw/libofw Makefile libofw.h ofw_copy.c ofw_net.c openfirm.c openfirm.h src/sys/boot/powerpc/loader Makefile conf.c start.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG benno 2001/10/07 06:22:25 PDT Modified files: sys/boot/ofw/common main.c sys/boot/ofw/libofw Makefile libofw.h ofw_copy.c ofw_net.c openfirm.c openfirm.h sys/boot/powerpc/loader Makefile conf.c start.c Log: Mega-patch for OpenFirmware loader support. - Flesh out ofw_readin routine. - Add OpenFirmware load and exec routines. - Make sure memory allocation for the kernel is done correctly. - Change the way the heap is allocated so as to make it easier to deallocate when we hand over. - Add a command to print memory maps similar to the one for ia64. With this patch, I can now load and hand over to a kernel on my iMac. There are some problems with OpenFirmware routines failing after the hand over that still need to be addressed. Revision Changes Path 1.2 +21 -28 src/sys/boot/ofw/common/main.c 1.3 +4 -3 src/sys/boot/ofw/libofw/Makefile 1.3 +19 -1 src/sys/boot/ofw/libofw/libofw.h 1.9 +31 -4 src/sys/boot/ofw/libofw/ofw_copy.c 1.4 +10 -8 src/sys/boot/ofw/libofw/ofw_net.c 1.3 +18 -5 src/sys/boot/ofw/libofw/openfirm.c 1.3 +3 -1 src/sys/boot/ofw/libofw/openfirm.h 1.7 +6 -2 src/sys/boot/powerpc/loader/Makefile 1.7 +9 -3 src/sys/boot/powerpc/loader/conf.c 1.2 +6 -4 src/sys/boot/powerpc/loader/start.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message