]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xshm: Character device for XSHM channel access.
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Wed, 7 Dec 2011 09:28:06 +0000 (10:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Dec 2011 12:20:13 +0000 (13:20 +0100)
commit4a95dd5f4401fc00291d95886c09df8d8b868eb8
treee1f66fe096332463339111f0925cd85aad06ef8d
parent4f95a87ebab657e46509f3d598936db60086b579
xshm: Character device for XSHM channel access.

This patch introduces a character interface to the XSHM channels.
A misc device is created, providing asynchronous IO and management.

The character device implements ring-buffer handling, copying
data directly from the Shared Memory area into user buffers.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/xshm/xshm_chr.c [new file with mode: 0644]