Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1899 → Rev 1896

/trunk/boot/genarch/ofw.h
90,6 → 90,7
 
extern uintptr_t ofw_cif;
 
 
extern phandle ofw_chosen;
extern ihandle ofw_stdout;
extern phandle ofw_root;
112,7 → 113,6
extern int ofw_package_to_path(const phandle device, char *buf, const int buflen);
 
extern int ofw(ofw_args_t *arg);
extern unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...);
extern unsigned int ofw_get_address_cells(const phandle device);
extern unsigned int ofw_get_size_cells(const phandle device);
extern void *ofw_translate(const void *virt);
/trunk/boot/genarch/ofw.c
83,7 → 83,7
*
* @return Return value returned by the client interface.
*/
unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
static unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
{
va_list list;
ofw_args_t args;