[rtems commit] termios: Fix output flush

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 13 16:54:55 UTC 2012


On 12/13/2012 05:45 PM, Ralf Corsepius wrote:
> On 12/13/2012 05:31 PM, Sebastian Huber wrote:
>> Module:    rtems
>> Branch:    master
>> Commit:    da02535ac50b7d3a67820441f603326ac23af0b8
>> Changeset:
>> http://git.rtems.org/rtems/commit/?id=da02535ac50b7d3a67820441f603326ac23af0b8
>>
>> Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
>> Date:      Thu Dec 13 17:34:58 2012 +0100
>>
>> termios: Fix output flush
>>
>> ---
>>
>>   cpukit/libcsupport/src/termios.c |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
>> index 16dd754..cd127f8 100644
>> --- a/cpukit/libcsupport/src/termios.c
>> +++ b/cpukit/libcsupport/src/termios.c
>> @@ -362,6 +362,7 @@ flushOutput (struct rtems_termios_tty *tty)
>>     rtems_interrupt_disable (level);
>>     tty->rawOutBuf.Tail = 0;
>>     tty->rawOutBuf.Head = 0;
>> +  tty->rawOutBufState = rob_idle;
>>     rtems_interrupt_enable (level);
>>   }
>
> What does this patch do? Your commit log doesn't tell us and I do not understand.

If you know the termios code, then this fix is obvious.

>
> I am asking, because RTEMS termios is one of the oldest parts in RTEMS, which
> likely has more testing than any other parts of RTEMS.

I introduced this flushOutput() yesterday.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 18 94 80 741-16
Fax     : +49 89 18 94 80 741-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the devel mailing list