Changeset 9a3c35a in rtems


Ignore:
Timestamp:
Sep 30, 2009, 2:51:32 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
add4185e
Parents:
07688ae
Message:

2009-09-30 Ralf Corsépius <ralf.corsepius@…>

  • libcsupport/include/rtems/termiostypes.h: Include stdlib.h. Add rtems_termios_baud_t. Rename termios_number_to_baud into rtems_termios_number_to_baud, termios_baud_to_number into rtems_termios_baud_to_number, termios_baud_to_index into rtems_termios_baud_to_index.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r07688ae r9a3c35a  
     12009-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libcsupport/include/rtems/termiostypes.h: Include stdlib.h.
     4        Add rtems_termios_baud_t.
     5        Rename termios_number_to_baud into rtems_termios_number_to_baud,
     6        termios_baud_to_number into rtems_termios_baud_to_number,
     7        termios_baud_to_index into rtems_termios_baud_to_index.
     8
    192009-09-29      Ralf Corsépius <ralf.corsepius@rtems.org>
    210
  • cpukit/libcsupport/include/rtems/termiostypes.h

    r07688ae r9a3c35a  
    2121#include <rtems.h>
    2222#include <rtems/libio.h>
     23#include <stdint.h>
    2324
    2425#ifdef __cplusplus
     
    180181#define MAXLDISC  8
    181182
     183/* baudrate xxx integer type */
     184typedef int32_t rtems_termios_baud_t;
     185
    182186/* convert xxx integer to equivalent Bxxx constant */
    183 int  termios_number_to_baud(int baud);
     187int  rtems_termios_number_to_baud(rtems_termios_baud_t baud);
     188
    184189/* convert Bxxx constant to xxx integer */
    185 int  termios_baud_to_number(int termios_baud);
     190rtems_termios_baud_t rtems_termios_baud_to_number(int termios_baud);
     191
    186192/* convert Bxxx constant to index */
    187 int  termios_baud_to_index(int termios_baud);
     193int  rtems_termios_baud_to_index(rtems_termios_baud_t termios_baud);
    188194
    189195/*
     
    195201int  rtems_termios_set_initial_baud(
    196202  struct rtems_termios_tty *ttyp,
    197   int                       baud
     203  rtems_termios_baud_t      baud
    198204);
    199205
Note: See TracChangeset for help on using the changeset viewer.