Deleted Added
full compact
ofw_if.m (208614) ofw_if.m (209801)
1#-
2# Copyright (c) 2008 Nathan Whitehorn
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24# SUCH DAMAGE.
25#
1#-
2# Copyright (c) 2008 Nathan Whitehorn
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24# SUCH DAMAGE.
25#
26# $FreeBSD: head/sys/dev/ofw/ofw_if.m 208614 2010-05-28 10:43:56Z raj $
26# $FreeBSD: head/sys/dev/ofw/ofw_if.m 209801 2010-07-08 14:29:23Z nwhitehorn $
27#
28
29#include <dev/ofw/openfirm.h>
30#include <dev/ofw/ofwvar.h>
31
32/**
33 * @defgroup OFW ofw - KObj methods for Open Firmware RTAS implementations
34 * @brief A set of methods to implement the Open Firmware client side interface.

--- 189 unchanged lines hidden (view full) ---

224
225METHOD int call_method {
226 ofw_t _ofw;
227 ihandle_t _instance;
228 const char *_method;
229 int _nargs;
230 int _nreturns;
231
27#
28
29#include <dev/ofw/openfirm.h>
30#include <dev/ofw/ofwvar.h>
31
32/**
33 * @defgroup OFW ofw - KObj methods for Open Firmware RTAS implementations
34 * @brief A set of methods to implement the Open Firmware client side interface.

--- 189 unchanged lines hidden (view full) ---

224
225METHOD int call_method {
226 ofw_t _ofw;
227 ihandle_t _instance;
228 const char *_method;
229 int _nargs;
230 int _nreturns;
231
232 unsigned long *_args_and_returns;
232 cell_t *_args_and_returns;
233};
234
235/**
236 * @brief Interpret a forth command.
237 *
238 * @param _cmd Command
239 * @param _nreturns Number of return values
240 * @param _returns Values for returns

--- 114 unchanged lines hidden ---
233};
234
235/**
236 * @brief Interpret a forth command.
237 *
238 * @param _cmd Command
239 * @param _nreturns Number of return values
240 * @param _returns Values for returns

--- 114 unchanged lines hidden ---