Subversion Repositories HelenOS

Rev

Rev 1895 | Rev 1947 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1895 Rev 1899
Line 81... Line 81...
81
 * @param nret Number of output arguments. This includes the return value.
81
 * @param nret Number of output arguments. This includes the return value.
82
 * @param rets Buffer for output arguments or NULL. The buffer must accommodate nret - 1 items.
82
 * @param rets Buffer for output arguments or NULL. The buffer must accommodate nret - 1 items.
83
 *
83
 *
84
 * @return Return value returned by the client interface.
84
 * @return Return value returned by the client interface.
85
 */
85
 */
86
static unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
86
unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
87
{
87
{
88
    va_list list;
88
    va_list list;
89
    ofw_args_t args;
89
    ofw_args_t args;
90
    int i;
90
    int i;
91
   
91