Re: Userspace I/O driver core

From: Avi Kivity
Date: Thu Dec 14 2006 - 05:56:47 EST


Arjan van de Ven wrote:
On Thu, 2006-12-14 at 12:46 +0200, Avi Kivity wrote:
Arjan van de Ven wrote:
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?
if you do that why not do a real driver.

An entire driver in bytecode?

no a real, non-bytecode driver.


Isn't the whole point of uio is to avoid writing a kernel mode driver?

As proposed, it doesn't quite accomplish it. With an additional bytecode interpreter, you can have a 100% userspace driver (the bytecode interpreter would be part of uio, not the driver).


--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/