History log of /netbsd/sys/arch/sparc/sparc/openfirm.c (Results 1 – 24 of 24)
Revision Date Author Comments
# dafde1b8 27-Feb-2021 palle <palle@NetBSD.org>

sun4v: add 32/64 bit workaround for the OF_read() call, similar to the one introduced in revision 1.21


# 11dfcf45 26-Mar-2017 martin <martin@NetBSD.org>

Add KASSERTs to catch access to NULL OF nodes early


# 2ea584ac 07-Apr-2016 palle <palle@NetBSD.org>

Rework locking mechanism introduced in rev. 1.21: use __cpu_simple_lock... instead of mutex_... since this causes issues when LOCKDEBUG is defined


# bc32a2ac 01-Apr-2016 palle <palle@NetBSD.org>

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

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@

show more ...


# 9fa25355 27-Mar-2015 nakayama <nakayama@NetBSD.org>

Sync sparc64 kernel's OF_seek with ofwboot's one, but sparc version
is not changed.


# 4a81b5af 23-Nov-2014 christos <christos@NetBSD.org>

avoid shadowed variable


# d021fa27 18-Jul-2011 martin <martin@NetBSD.org>

if _KERNEL is not defined, include <sys/stdarg.h> for va_list. For the
kernel (or modules) this is already done by systm.h.


# 9f2c6cd5 17-Jul-2011 joerg <joerg@NetBSD.org>

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 a

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.

show more ...


# be5587ec 19-Aug-2008 martin <martin@NetBSD.org>

Add missing va_end() calls, reported by Stepan "doomwarrior" on
port-sparc64.


# f6d76ae2 22-Feb-2007 thorpej <thorpej@NetBSD.org>

TRUE -> true, FALSE -> false


# a9f4c28a 10-May-2006 skrll <skrll@NetBSD.org>

Fix a bunch of cast lvalues.


# 5f1c88d7 24-Dec-2005 perry <perry@NetBSD.org>

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.


# 7257cf94 14-Nov-2005 uwe <uwe@NetBSD.org>

ANSIify. Same binary code is produced for GENERIC.MP + KGDB + DDB.


# 9a8bbeeb 24-Sep-2005 macallan <macallan@NetBSD.org>

Run the MicroSPARC IIep PCI bus without endianness translation.
This allows us to run X without any additional code changes.


# 69809b64 31-May-2005 christos <christos@NetBSD.org>

- sprinkle const
- convert to ansi prototypes.


# b5a94748 21-Mar-2004 pk <pk@NetBSD.org>

* Add OF_claim() for sparc64.
* Change OF_interpret() to the unabridged version.
* Sync OF_sym2val() and OF_val2sym() with the psarc64 versions.


# 8a8d2aa0 30-Jul-2003 mrg <mrg@NetBSD.org>

sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)


# a4183603 15-Jul-2003 lukem <lukem@NetBSD.org>

__KERNEL_RCSID()


# 4924c0ae 11-Dec-2001 uwe <uwe@NetBSD.org>

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.


# 4c999163 24-Sep-2001 wiz <wiz@NetBSD.org>

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

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.

show more ...


# 67afbd62 30-May-2001 mrg <mrg@NetBSD.org>

use _KERNEL_OPT


# e563dea3 22-Mar-2001 mrg <mrg@NetBSD.org>

sync with sparc64 (just some debug messages.)


# 521b17da 15-Nov-2000 pk <pk@NetBSD.org>

Adjust OF_setprop() prototype.


# a99ba293 14-Feb-1999 pk <pk@NetBSD.org>

Provide a uniform interface to most of the PROM functions.
Include an Openfirmware back-end (mostly copied from sparc64).