Changeset 94e3c83 in rtems

Timestamp:
07/22/16 19:15:55 (8 years ago)
Author:
Pavel Pisa <pisa@…>
Branches:
4.11
Children:
22ab88c
Parents:
ea41bccc
git-author:
Pavel Pisa <pisa@…> (07/22/16 19:15:55)
git-committer:
Pavel Pisa <pisa@…> (10/02/16 09:31:19)
Message:

bsp/tms570: ensure that change of SCI baudrate is not applied in the middle of character Tx.

The rtems_monitor_task() setups/updates termios attributes
of the opened TTY and if there is ongoing some other output
it leads to the stuck.

It would be better to use some termios API function which
would call drainOutput() in rtems/cpukit/libcsupport/src/termios.c.
But functionality is not accessible outside of core termios
implementation.

The loop waiting for last character to be sent has to be there anyway
because hardware does not provide Tx machine/shift register empty
interrupt.

Closes #2794

(No files)

Note: See TracChangeset for help on using the changeset viewer.