Home | History | Annotate | Download | only in sparc
History log of /src/sys/arch/sparc/sparc/openfirm.c
RevisionDateAuthorComments
 1.24  27-Feb-2021  palle sun4v: add 32/64 bit workaround for the OF_read() call, similar to the one introduced in revision 1.21
 1.23  26-Mar-2017  martin branches: 1.23.26;
Add KASSERTs to catch access to NULL OF nodes early
 1.22  07-Apr-2016  palle branches: 1.22.2; 1.22.4;
Rework locking mechanism introduced in rev. 1.21: use __cpu_simple_lock... instead of mutex_... since this causes issues when LOCKDEBUG is defined
 1.21  01-Apr-2016  palle sun4v: Workaround for OpenBoot feature where a 64-bit address is truncated to a 32-bit address. This happends when a write to the console (/virtual-devices@100/console@1) is done. Avoid this by using a static buffer that is mapped below 4GB. Thanks to Tarl Neustaedter for explaining how OpenBoot works. ok martin@
 1.20  27-Mar-2015  nakayama Sync sparc64 kernel's OF_seek with ofwboot's one, but sparc version
is not changed.
 1.19  23-Nov-2014  christos branches: 1.19.2;
avoid shadowed variable
 1.18  18-Jul-2011  martin branches: 1.18.12; 1.18.28;
if _KERNEL is not defined, include <sys/stdarg.h> for va_list. For the
kernel (or modules) this is already done by systm.h.
 1.17  17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.16  19-Aug-2008  martin Add missing va_end() calls, reported by Stepan "doomwarrior" on
port-sparc64.
 1.15  22-Feb-2007  thorpej branches: 1.15.42; 1.15.46; 1.15.48; 1.15.52;
TRUE -> true, FALSE -> false
 1.14  10-May-2006  skrll branches: 1.14.14;
Fix a bunch of cast lvalues.
 1.13  24-Dec-2005  perry branches: 1.13.4; 1.13.6; 1.13.8; 1.13.10; 1.13.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.12  14-Nov-2005  uwe ANSIify. Same binary code is produced for GENERIC.MP + KGDB + DDB.
 1.11  24-Sep-2005  macallan branches: 1.11.6;
Run the MicroSPARC IIep PCI bus without endianness translation.
This allows us to run X without any additional code changes.
 1.10  31-May-2005  christos branches: 1.10.2;
- sprinkle const
- convert to ansi prototypes.
 1.9  21-Mar-2004  pk * Add OF_claim() for sparc64.
* Change OF_interpret() to the unabridged version.
* Sync OF_sym2val() and OF_val2sym() with the psarc64 versions.
 1.8  30-Jul-2003  mrg sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)
 1.7  15-Jul-2003  lukem __KERNEL_RCSID()
 1.6  11-Dec-2001  uwe branches: 1.6.16;
On ms-IIep kernel runs with PCI endian swapping turned on but we need
to turn it off before we pass control to PROM's repl as it expects
PCIC to be in little endian mode and would hang otherwise.
 1.5  24-Sep-2001  wiz branches: 1.5.4;
va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
 1.4  30-May-2001  mrg branches: 1.4.2; 1.4.4;
use _KERNEL_OPT
 1.3  22-Mar-2001  mrg sync with sparc64 (just some debug messages.)
 1.2  15-Nov-2000  pk branches: 1.2.2;
Adjust OF_setprop() prototype.
 1.1  14-Feb-1999  pk branches: 1.1.8;
Provide a uniform interface to most of the PROM functions.
Include an Openfirmware back-end (mostly copied from sparc64).
 1.1.8.2  27-Mar-2001  bouyer Sync with HEAD.
 1.1.8.1  22-Nov-2000  bouyer Sync with HEAD.
 1.2.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.2.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.4.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.4.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.5.4.1  24-Sep-2001  nathanw file openfirm.c was added on branch nathanw_sa on 2002-01-08 00:27:49 +0000
 1.6.16.5  11-Dec-2005  christos Sync with head.
 1.6.16.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.16.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.16.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.16.1  03-Aug-2004  skrll Sync with HEAD
 1.10.2.2  26-Feb-2007  yamt sync with head.
 1.10.2.1  21-Jun-2006  yamt sync with head.
 1.11.6.1  22-Nov-2005  yamt sync with head.
 1.13.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.13.10.1  11-May-2006  elad sync with head
 1.13.8.1  24-May-2006  yamt sync with head.
 1.13.6.1  01-Jun-2006  kardel Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.14.14.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.15.52.1  19-Oct-2008  haad Sync with HEAD.
 1.15.48.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.15.46.1  04-May-2009  yamt sync with head.
 1.15.42.1  28-Sep-2008  mjf Sync with HEAD.
 1.18.28.1  29-Mar-2015  martin Pull up following revision(s) (requested by nakayama in ticket #649):
sys/arch/sparc/sparc/openfirm.c: revision 1.20
sys/arch/sparc/include/openfirm.h: revision 1.8
sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14
Fix kernel loading failures from partitions started from over first
4GB of disks on sparc64.
Sync sparc64 kernel's OF_seek with ofwboot's one, but sparc version
is not changed.
 1.18.12.1  03-Dec-2017  jdolecek update from HEAD
 1.19.2.3  28-Aug-2017  skrll Sync with HEAD
 1.19.2.2  22-Apr-2016  skrll Sync with HEAD
 1.19.2.1  06-Apr-2015  skrll Sync with HEAD
 1.22.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.22.2.1  26-Apr-2017  pgoyette Sync with HEAD
 1.23.26.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed