#2153 closed defect (fixed)

Termios setAttributes callback is broken on SMP

Reported by: Sebastian Huber Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: score Version: 4.11
Severity: normal Keywords:
Cc: chrisj@… Blocked By:
Blocking:

Description

The setAttributes callback usually has to modify some control registers using a read-modify-write sequence. In case the registers are also used by interrupt service routines the corresponding ISR lock (rtems_termios_tty::interrupt_lock) must be used. The setAttributes callback has no easy access to this lock.

Attachments (1)

0001-termios-Pass-Termios-context-to-device-callbacks.patch (11.0 KB) - added by Sebastian Huber on 11/29/13 at 07:18:09.
Potential fix.

Download all attachments as: .zip

Change History (4)

Changed on 11/29/13 at 07:18:09 by Sebastian Huber

Potential fix.

comment:1 Changed on 12/03/13 at 17:46:43 by Chris Johns

Cc: Chris Johns added

comment:2 Changed on 07/09/14 at 10:03:09 by Sebastian Huber

Resolution: fixed
Status: newclosed

comment:3 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.