Changeset ef8c00bc in rtems for cpukit/libcsupport

Timestamp:
06/27/14 11:10:15 (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
32fc6a3
Parents:
c6048ee
git-author:
Sebastian Huber <sebastian.huber@…> (06/27/14 11:10:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/09/14 09:55:00)
Message:

termios: PR2153: New low-level device API

Add a new low-level device API to Termios that passes the TTY structure
to the low-level device functions. This greatly simplifies the
low-level device drivers since they are no longer forced to derive their
private data from the minor number.

It makes it possible to use the TTY low-level lock in the device driver
low-level functions which is necessary for proper SMP support. For
example to set the attributes it is often necessary to perform a
read-modify-write operation on a control register used also by interrupt
routines.

A compatibility layer is provided to support device drivers using the
old callback functions so it is not necessary to modify existing device
drivers.

(No files)

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