Next OSADL Events:
|
Breaking News:
2011-08-21 12:00
How to determine code coverage of a running program on the fly?A new HOWTO at the OSADL Website knows more
2011-06-12 12:00
Not yet registered at the Summer School in Linz, Austria?Do not miss talks by international experts on formal code analysis, Linux real-time and safety.
2011-05-19 12:00
Linux real-time news from San FranciscoThomas Gleixner at the Embedded Linux Conference 2011 |
Project Goal
Provide a generic framework for handling devices in userspace. The device driver is split into a small kernel part, which contains the device setup and the primary interrupt handling, and a user space part, which handles the device functionality.
UIO was originally part of the OSADL project "Universal Fieldbus and Industrial I/O Framework" and represents one of its kernel interfaces.
This HOWTO is part of the Linux kernel documentation.
Code
Since kernel version 2.6.23 (commit), UIO kernel component is part of the mainline Linux Kernel. This LWN article gives some more details on it.
The mainline Linux kernel contains a number of UIO user-space drivers that can be used as a template when writing such drivers, e.g.
uio_cif.c | UIO Hilscher CIF card driver |
uio_sercos3.c | UIO driver for the Automata Sercos III PCI card |
Library
The most recent version of the UIO library libUIO can be obtained from OSADL member Linutronix via git:
git clone git://git.linutronix.de/projects/libUIO
