#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
212477 |
|
11-Sep-2010 |
marius |
Change OF_interpret() to also take an array of cell_t (missed in r209801).
Reviewed by: nwhitehorn
|
#
209801 |
|
08-Jul-2010 |
nwhitehorn |
Change the argument type to OF_call_method to take an array of cell_t instead of unsigned longs to prepare for platforms where they are not the same.
|
#
208614 |
|
28-May-2010 |
raj |
Prepare and extend OFW layer for FDT support.
o Let OFW_INIT() and OF_init() return status value.
o Provide helper routines for 'compatible' property handling.
o Only compile OF and OFW code, which is relevant in FDT scenario.
o Other minor cosmetics
Reviewed by: imp Sponsored by: The FreeBSD Foundation
|
#
208172 |
|
16-May-2010 |
nwhitehorn |
Pull OF_quiesce() out of the MI Open Firmware layer and entirely into PPC ofw_machdep.c, in recognition of its state as a machine specific hack.
Requested by: marius
|
#
208152 |
|
16-May-2010 |
nwhitehorn |
On PowerMac11,2 and (presumably) PowerMac12,1, we need to quiesce the firmware in order to take over control of the SMU. Without doing this, the firmware background process doing fan control will run amok as we take over the system and crash the management chip.
This is limited to these two machines because our kernel is heavily dependent on firmware accesses, and so quiescing firmware can cause nasty problems.
|
#
206116 |
|
02-Apr-2010 |
marius |
With r205496 in place we should ensure that nargs and nreturns are always set to sane values as they no longer default to 0, otherwise some OFW implementation might copy in or out arguments not based on what the actual function takes but what ever stack garbage nargs and nreturns supply.
Reviewed by: nwhitehorn
|
#
205496 |
|
22-Mar-2010 |
nwhitehorn |
Do not declare the various OFW command buffers static. It does not appear to be necessary on either sparc64 or powerpc, and is a concurrency nightmare.
Reviewed by: marius
|
#
194138 |
|
13-Jun-2009 |
marius |
Fix style.
|
#
194025 |
|
11-Jun-2009 |
avg |
strict kobj signatures: some ofw_setprop fixes
propname parameter is const
Reviewed by: imp, current@ Approved by: jhb (mentor)
|
#
190522 |
|
29-Mar-2009 |
marius |
Unbreak OF_interpret() and its standard implementation after r186347.
|
#
186347 |
|
19-Dec-2008 |
nwhitehorn |
Modularize the Open Firmware client interface to allow run-time switching of OFW access semantics, in order to allow future support for real-mode OF access and flattened device frees. OF client interface modules are implemented using KOBJ, in a similar way to the PPC PMAP modules.
Because we need Open Firmware to be available before mutexes can be used on sparc64, changes are also included to allow KOBJ to be used very early in the boot process by only using the mutex once we know it has been initialized.
Reviewed by: marius, grehan
|
#
171265 |
|
05-Jul-2007 |
peter |
Fix warnings. nxge: cast page size fragments down to (int). If the vm's demand paging PAGE_SIZE is ever too big for that, we've got far bigger problems. ofw: move va_start() a little earlier. gcc-4.2 doesn't like us modifying the last arg before the va_start().
Approved by: re (rwatson)
|
#
170842 |
|
16-Jun-2007 |
marius |
In OF_init() check the return value of OF_getprop().
Found with: Coverity Prevent(tm) CID: 679
|
#
170841 |
|
16-Jun-2007 |
marius |
- Restore the machine independency of sys/dev/ofw/openfirm.{c,h} by moving OF_set_mmfsa_traptable() (SUNW,set-trap-table with the two arguments used here is specific to sun4v) to MD code. - In sys/dev/ofw/openfirm.h remove prototypes for unimplemented functions and unused Solaris compatibility macros.
|
#
170838 |
|
16-Jun-2007 |
marius |
Sync the styles of sys/boot/ofw/libofw/openfirm.c and sys/dev/ofw/openfirm.c with themselves, with each-other and with style(9).
|
#
163221 |
|
11-Oct-2006 |
kmacy |
Using the ptr defines broke the powerpc build - convert set_mmfsa to the same convention as the rest of openfirm.c
|
#
163146 |
|
09-Oct-2006 |
kmacy |
kernel clean up to make the sun4v kernel build
Reviewed by: jmg Approved by: rwatson (mentor)
|
#
152682 |
|
22-Nov-2005 |
marius |
Remove unused function and variables.
|
#
139749 |
|
05-Jan-2005 |
imp |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
#
133862 |
|
16-Aug-2004 |
marius |
Instead of "OpenFirmware", "openfirmware", etc. use the official spelling "Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended).
Ok'ed by: tmm
|
#
129588 |
|
22-May-2004 |
marius |
- Rearrange a comment to fit in 80 chars per line, like the rest of this file. - Remove a superfluous ';'.
|
#
119418 |
|
24-Aug-2003 |
obrien |
Use __FBSDID(). Also some minor style cleanups.
|
#
115973 |
|
07-Jun-2003 |
jake |
Implement OF_interpret.
Obtained from: netbsd
|
#
111119 |
|
19-Feb-2003 |
imp |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
#
109623 |
|
21-Jan-2003 |
alfred |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
#
86557 |
|
18-Nov-2001 |
tmm |
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)
|
#
80697 |
|
31-Jul-2001 |
jake |
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
|
#
78876 |
|
27-Jun-2001 |
benno |
Garbage collect some debug code.
|
#
78346 |
|
16-Jun-2001 |
benno |
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
|
#
78311 |
|
15-Jun-2001 |
obrien |
These were repo copied from their sys/boot/ofw/libofw counter parts.
|
#
68548 |
|
10-Nov-2000 |
benno |
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
|
#
67204 |
|
16-Oct-2000 |
obrien |
"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>
|