1.\"- 2.\" Copyright (c) 1992, 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This software was developed by the Computer Systems Engineering group 6.\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7.\" contributed to Berkeley. 8.\" --- 44 unchanged lines hidden (view full) --- 53.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 54.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 55.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 56.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 57.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 58.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 59.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 60.\" |
61.\" $FreeBSD: head/share/man/man4/man4.sparc64/openfirm.4 208027 2010-05-13 12:07:55Z uqs $ |
62.\" 63.Dd September 1, 2006 64.Dt OPENFIRM 4 sparc64 65.Os 66.Sh NAME 67.Nm openfirm 68.Nd "Open Firmware interface" 69.Sh SYNOPSIS --- 176 unchanged lines hidden (view full) --- 246and 247.Dv OFIOCMAXVALUE 248bytes respectively. 249.It Bq Er ENOMEM 250The kernel could not allocate memory to copy in data from user-space or to 251retrieve data from the 252.Tn Open Firmware . 253.El |
254.Sh SEE ALSO 255.Xr ioctl 2 , 256.Xr openprom 4 , 257.Xr eeprom 8 , 258.Xr ofwdump 8 259.Rs 260.%Q "IEEE Standards Organization" 261.%B "IEEE Std 1275-1994:" --- 12 unchanged lines hidden (view full) --- 274.Fx 5.0 . 275.Sh AUTHORS 276The 277.Nm 278interface was ported to 279.Fx 280by 281.An "Thomas Moestl" Aq tmm@FreeBSD.org . |
282.Sh CAVEATS 283Due to limitations within 284.Tn Open Firmware 285itself, 286these functions run at elevated priority and may adversely affect system 287performance. 288.Pp 289For at least the 290.Pa /options 291node the property value passed in to the 292.Dv OFIOCSET 293call has to be null-terminated and the value length passed in has to include 294the terminating 295.Ql \e0 . 296However, as with the 297.Dv OFIOCGET 298call, 299the returned value length does not include the terminating 300.Ql \e0 . |