Changeset a5fb3d1b in rtems


Ignore:
Timestamp:
Apr 15, 2010, 8:39:26 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
f53301c
Parents:
6d521f0
Message:

Reflect termios API changes.

Location:
c/src/lib/libcpu/sh/sh7045
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sh/sh7045/include/sci_termios.h

    r6d521f0 ra5fb3d1b  
    2828void sh_sci_init(int minor);
    2929
    30 int sh_sci_write_support_int(
     30ssize_t sh_sci_write_support_int(
    3131    int         minor,
    3232    const char *buf,
    33     int         len
     33    size_t      len
    3434);
    3535
    36 int sh_sci_write_support_polled(
     36ssize_t sh_sci_write_support_polled(
    3737  int         minor,
    3838  const char *buf,
    39   int         len
     39  size_t      len
    4040);
    4141
  • c/src/lib/libcpu/sh/sh7045/sci/sci.c

    r6d521f0 ra5fb3d1b  
    542542 * Termios polled write
    543543 */
    544 static int _sh_sci_poll_write(int minor, const uint8_t *buf, int len)
    545 {
    546     int count;
     544static ssize_t _sh_sci_poll_write(int minor, const char *buf, size_t len)
     545{
     546    size_t count;
    547547
    548548    for (count = 0; count < len; count++)
  • c/src/lib/libcpu/sh/sh7045/sci/sci_termios.c

    r6d521f0 ra5fb3d1b  
    356356 * Interrupt aware write routine
    357357 */
    358 int sh_sci_write_support_int(
     358ssize_t sh_sci_write_support_int(
    359359  int            minor,
    360360  const char    *buf,
    361   int            len
     361  size_t         len
    362362)
    363363{
     
    380380 * Polled write method
    381381 */
    382 int sh_sci_write_support_polled(
     382ssize_t sh_sci_write_support_polled(
    383383  int            minor,
    384384  const char    *buf,
    385   int            len
     385  size_t         len
    386386)
    387387{
Note: See TracChangeset for help on using the changeset viewer.