UIO: user-space drivers - Embedded.com

UIO: user-space drivers

The concept of supporting user-space drivers has appeared on this page afew times before. It's back; this time there is a version of the patch(now called “UIO”) which is being proposed for inclusion into 2.6.22. Theinterface has changed somewhat, so another look is called for.

Like the previous version, UIO does not completely eliminate the need forkernel-space code. A small module is required to set up the device,perhaps interface to the PCI bus, and register an interrupt handler. Thelast function (interrupt handling) is particularly important; much can bedone in user space, but there needs to be an in-kernel interrupt handlerwhich knows how to tell the device to stop crying for attention.

See the rest of the article on LWN.net by clicking here.

1 thought on “UIO: user-space drivers

  1. The referenced article is more than five years old, referring to kernel version 2.6.22; my not quite up-to-date Ubunto has version 3.0.0, my RaspberryPi has 3.0.26 (I think). What brought this article to your attention just now? Maybe a little explanation

    Log in to Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.