Date: Sun, 7 Oct 2001 06:22:25 -0700 (PDT) From: Benno Rice <benno@FreeBSD.org> 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 Message-ID: <200110071322.f97DMPa45878@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110071322.f97DMPa45878>
