summaryrefslogtreecommitdiff
path: root/sys/dev/ofw/openfirm.c
AgeCommit message (Expand)Author
2025-06-11machine/stdarg.h -> sys/stdarg.hBrooks Davis
2025-04-03openfirm: Add OF_device_unregister_xrefEmannuel Vadot
2024-06-26ofw: convert boolean_t to boolMitchell Horne
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
2022-08-11Adjust function definition in ofw to avoid clang 15 warningAndrew Turner
2018-04-09Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_allocOleksandr Tymoshenko
2018-04-09Make OF_searchencprop signature consistent with OF_getencpropOleksandr Tymoshenko
2018-04-08Clean up OF_getprop_alloc APIOleksandr Tymoshenko
2017-11-28Back out OF module installation in the event of failure. PS3 firmware givesNathan Whitehorn
2017-11-27sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2016-05-11Add OF_prop_free function as a counterpart for OF_*prop_allocOleksandr Tymoshenko
2016-01-25Do not destroy input buffer of the OF_getencprop() function on errorZbigniew Bodek
2016-01-24Fix the style of the reading of a nodes xref to make it readable.Andrew Turner
2015-03-30Fix bug in xrefinfo_find() for 64-bit platformsZbigniew Bodek
2015-01-30Do not leak the OFW memory when the result does not satisfy our alignmentLuiz Otavio O Souza
2014-09-06When registering an association between a device and an xref phandle, createIan Lepore
2014-09-06Revert rr271190, it was based on a misunderstanding. The problem ofIan Lepore
2014-09-06Add OF_xref_from_node_strict() which returns -1 if there is no xref handleIan Lepore
2014-09-02Fix typo.Ian Lepore
2014-09-02Add OF_xref_from_device() so that there's no need to have an intermediateIan Lepore
2014-09-01Create a mechanism for looking up a device_t associated with an ofw/fdtIan Lepore
2014-09-01Rename OF_xref_phandle() to OF_node_from_xref() and add a new functionIan Lepore
2013-10-23Make all Open Firmware internal interfaces endian-safe by using the newNathan Whitehorn
2013-10-23Fix build.Andreas Tobler
2013-10-22A few other common cases for encode-int decoding: OF_getencprop_alloc()Nathan Whitehorn
2013-10-22Add a new function (OF_getencprop()) that undoes the transformation appliedNathan Whitehorn
2013-09-15Add a kernel interface (OF_xref_phandle()) for systems where phandlesNathan Whitehorn
2012-08-18- Add OF_hasprop() and ofw_bus_has_prop(). These can be used to checkHiroki Sato
2012-01-27Implement OF_printf() using kvprintf() directly, avoiding to use aMarius Strobl
2011-12-02Fix OF_finddevice error return value in case of FDT.Jayachandran C.
2011-11-15As it turns out, r186347 actually is insufficient to avoid the use of theMarius Strobl
2010-11-09Make all OF client interface calls return the maximum kind ofNathan Whitehorn
2010-09-11Change OF_interpret() to also take an array of cell_t (missed in r209801).Marius Strobl
2010-07-08Change the argument type to OF_call_method to take an array of cell_tNathan Whitehorn
2010-05-28Prepare and extend OFW layer for FDT support.Rafal Jaworowski
2010-05-16Pull OF_quiesce() out of the MI Open Firmware layer and entirely intoNathan Whitehorn
2010-05-16On PowerMac11,2 and (presumably) PowerMac12,1, we need to quiesce theNathan Whitehorn
2009-06-14Fix style.Marius Strobl
2009-03-29Unbreak OF_interpret() and its standard implementation after r186347.Marius Strobl
2009-01-03Fix the OFW interrupt map parser to use its own idea of the number of interruptNathan Whitehorn
2008-12-20Modularize the Open Firmware client interface to allow run-time switchingNathan Whitehorn
2007-07-06Fix warnings.Peter Wemm
2007-06-16In OF_init() check the return value of OF_getprop().Marius Strobl
2007-06-16- Restore the machine independency of sys/dev/ofw/openfirm.{c,h} byMarius Strobl
2007-06-16Sync the styles of sys/boot/ofw/libofw/openfirm.c andMarius Strobl
2006-10-11Using the ptr defines broke the powerpc build - convert set_mmfsa to the sameKip Macy
2006-10-09kernel clean up to make the sun4v kernel buildKip Macy
2005-11-22Remove unused function and variables.Marius Strobl
2005-01-06Start each of the license/copyright comments with /*-, minor shuffle of linesWarner Losh
2004-08-16Instead of "OpenFirmware", "openfirmware", etc. use the official spellingMarius Strobl