Kip Macy
e8bc49d761
Using the ptr defines broke the powerpc build - convert set_mmfsa to the same
...
convention as the rest of openfirm.c
2006-10-11 02:52:46 +00:00
Kip Macy
25e328499c
kernel clean up to make the sun4v kernel build
...
Reviewed by: jmg
Approved by: rwatson (mentor)
2006-10-09 04:45:19 +00:00
Marius Strobl
933b731c67
Remove unused function and variables.
2005-11-22 14:21:03 +00:00
Warner Losh
098ca2bda9
Start each of the license/copyright comments with /*-, minor shuffle of lines
2005-01-06 01:43:34 +00:00
Marius Strobl
39513fa664
Instead of "OpenFirmware", "openfirmware", etc. use the official spelling
...
"Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended).
Ok'ed by: tmm
2004-08-16 15:45:27 +00:00
Marius Strobl
a32a374caf
- Rearrange a comment to fit in 80 chars per line, like the rest of this
...
file.
- Remove a superfluous ';'.
2004-05-22 16:45:19 +00:00
David E. O'Brien
aad970f1fe
Use __FBSDID().
...
Also some minor style cleanups.
2003-08-24 17:55:58 +00:00
Jake Burkholder
2c7df6a555
Implement OF_interpret.
...
Obtained from: netbsd
2003-06-07 18:34:04 +00:00
Warner Losh
a163d034fa
Back out M_* changes, per decision of the TRB.
...
Approved by: trb
2003-02-19 05:47:46 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Thomas Moestl
398e05ab1c
1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindings
...
2. Add OF_getprop_alloc(), a helper function that will malloc() a sufficient
amount of memory and then retrieve a property value into it.
Approved by: benno
Obtained from: NetBSD (1)
2001-11-18 20:38:44 +00:00
Jake Burkholder
8aa920fd1d
Make the openfirmware functions work on 64 bit architectures by using
...
a standard cell_t type for the fields of all argument structs. Also
make ihandle_t and phandle_t unsigned to avoid sign extension problems.
Approved by: benno
2001-07-31 03:36:26 +00:00
Benno Rice
97d9f676e5
Garbage collect some debug code.
2001-06-27 12:15:12 +00:00
Benno Rice
707fed2004
OpenFirmware kernel support, as used by the PowerPC and hopefully other
...
ports later on.
This includes the basic MI interface routines as well as a console driver.
The MD code is kept in the MD directories.
Reviewed by: obrien
2001-06-16 07:17:56 +00:00
Benno Rice
4cc1860f9b
OpenFirmware/PowerPC loader, part 2.
...
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
2000-11-10 06:39:58 +00:00
David E. O'Brien
146a7d5318
"Ok, my loader's now up to putting up a prompt. It probes disks partially
...
but can't boot from them yet."
Thanks to Stephane Potvin for the some of the code in this set.
Submitted by: Benno Rice <benno@jeamland.net>
2000-10-16 10:46:22 +00:00