[lkml]   [2006]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Userspace I/O driver core
Am Donnerstag, 14. Dezember 2006 10:44 schrieb Avi Kivity:

> I understand one still has to write a kernel driver to shut up the irq.
> How about writing a small bytecode interpreter to make event than
> unnecessary?
> The userspace driver would register a couple of bytecode programs:
> is_interrupt_pending() and disable_interrupt(), which the uio framework
> would call when the interrupt fires.
> The bytecode could reuse net/core/filter.c, with the packet replaced by
> the mmio or ioregion, or use something new.

I think this would be overkill. The kernel module you have to write
is _really_ very simple. And it has to be written only once, so even
a manufacturer who employs no experienced kernel developers can
easily outsource that task.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-12-14 11:27    [W:0.086 / U:6.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site