Changeset a0f27360 in rtems


Ignore:
Timestamp:
Oct 13, 2014, 7:21:14 PM (5 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, master
Children:
b7d32736
Parents:
2d7029d5
Message:

sparc64: fix warnings for ofw function calls

Location:
c/src/lib/libbsp/sparc64/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc64/shared/console/conscfg.c

    r2d7029d5 ra0f27360  
    1111#include <libchip/serial.h>
    1212
    13 extern void ofw_write(const char *,const int );
    14 extern void ofw_read(void *,int );
     13#include <boot/ofw.h>
    1514
    1615int sun4v_console_device_first_open(int major, int minor, void *arg)
  • c/src/lib/libbsp/sparc64/shared/helenos/boot/include/ofw.h

    r2d7029d5 ra0f27360  
    101101extern int ofw(ofw_args_t *arg);
    102102extern unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...);
     103extern void ofw_write(const char *str, const int len);
     104extern void ofw_read(void *str, const int len);
    103105extern unsigned int ofw_get_address_cells(const phandle device);
    104106extern unsigned int ofw_get_size_cells(const phandle device);
Note: See TracChangeset for help on using the changeset viewer.