forked from Imagelibrary/rtems
sparc64: fix warnings for ofw function calls
This commit is contained in:
@@ -10,8 +10,7 @@
|
|||||||
|
|
||||||
#include <libchip/serial.h>
|
#include <libchip/serial.h>
|
||||||
|
|
||||||
extern void ofw_write(const char *,const int );
|
#include <boot/ofw.h>
|
||||||
extern void ofw_read(void *,int );
|
|
||||||
|
|
||||||
int sun4v_console_device_first_open(int major, int minor, void *arg)
|
int sun4v_console_device_first_open(int major, int minor, void *arg)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -100,6 +100,8 @@ extern int ofw_package_to_path(const phandle device, char *buf, const int buflen
|
|||||||
|
|
||||||
extern int ofw(ofw_args_t *arg);
|
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 long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...);
|
||||||
|
extern void ofw_write(const char *str, const int len);
|
||||||
|
extern void ofw_read(void *str, const int len);
|
||||||
extern unsigned int ofw_get_address_cells(const phandle device);
|
extern unsigned int ofw_get_address_cells(const phandle device);
|
||||||
extern unsigned int ofw_get_size_cells(const phandle device);
|
extern unsigned int ofw_get_size_cells(const phandle device);
|
||||||
extern void *ofw_translate(const void *virt);
|
extern void *ofw_translate(const void *virt);
|
||||||
|
|||||||
Reference in New Issue
Block a user