Ignore:
Timestamp:
Mar 21, 2017, 7:39:48 PM (3 years ago)
Author:
Kevin Kirspel <kevin-kirspel@…>
Branches:
master
Children:
94a4865
Parents:
c4b058ca
git-author:
Kevin Kirspel <kevin-kirspel@…> (03/21/17 19:39:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/22/17 10:55:04)
Message:

termios: Synchronize with latest FreeBSD headers

Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.

Close #2897.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/termios_baud2num.c

    rc4b058ca r1c6926c1  
    2121#include <rtems/termiostypes.h>
    2222
    23 rtems_termios_baud_t rtems_termios_baud_to_number(tcflag_t c_cflag)
     23rtems_termios_baud_t rtems_termios_baud_to_number(speed_t spd)
    2424{
    25   uint32_t remote_value = (uint32_t) (c_cflag & CBAUD);
    26 
    27   return rtems_assoc_local_by_remote(rtems_termios_baud_table, remote_value);
     25  return rtems_assoc_local_by_remote(rtems_termios_baud_table, spd);
    2826}
Note: See TracChangeset for help on using the changeset viewer.