summaryrefslogtreecommitdiffstats
path: root/sys/boot/ofw/common/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Instead of "OpenFirmware", "openfirmware", etc. use the official spellingmarius2004-08-161-1/+1
| | | | | | "Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended). Ok'ed by: tmm
* G5 support: handle the case where the OpenFirmware memory array usesgrehan2004-08-021-10/+24
| | | | 64 bits for the phys address, but only 32 for the virtual address.
* Convert to __FBSDID.obrien2004-01-041-2/+3
|
* - use correct pointer arithmetic in heapsize calculationgrehan2003-12-211-7/+29
| | | | | | - handle multiple Ofw memory regions when determining mem size - allow currdev to be set as a loader command-line option. parse() is used to allow future options to be processed.
* Change the device path representation in libofw to use the full firmwarejake2002-11-101-35/+2
| | | | | | | | | path, instead of an internal i386 specific one. Don't try to interpret a disklabel in ofw_disk.c, open the partition's device node directly and let the firmware do it. This fixes booting from a partition other than 'a' on sparc64, which is needed to support more installation methods. No objection: ppc
* Mega-patch for OpenFirmware loader support.benno2001-10-071-27/+20
| | | | | | | | | | | | | - 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.
* OpenFirmware/PowerPC loader, part 2.benno2000-11-101-0/+202
As of this patchset, the loader builds (under NetBSD/macppc), boots, interacts and talks to BOOTP/NFS servers. (main.c was moved from boot/ofw/libofw to boot/ofw/common but has no revision history) Reviewed by: obrien
OpenPOWER on IntegriCloud